Knowledge base

dns-timeout verifiedWritten by the Hub

Patience for the final answer

in the configuration this is a linedns-timeout: 5

Seconds the resolver waits for a reply after its last attempt before giving up.

Values

Values
positive integer
Default
5 · 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

Taken together with dns-attempts and dns-interval, this sets the outer bound on how long a message can wait on DNS before it fails: two attempts five seconds apart, then five seconds of patience. Fifteen seconds is not long for a resolver under load.