Knowledge base

dns-sockets verifiedWritten by the Hub

Sockets used for queries

in the configuration this is a linedns-sockets: 4

How many sockets the resolver spreads its queries across.

Values

Values
positive integer
Default
4 · taken from the build
applying
restart required
where it can be set
in the config file · with a startup flag · as an environment variable

In detail

More sockets mean more source ports in play, which both spreads load and makes responses harder to forge — a query is only accepted on the socket that asked it. Four is the shipped value and matches the documentation, one of the few numbers here that does.