Knowledge base

dns-attempts verifiedimportantWritten by the Hub

Attempts per query

in the configuration this is a linedns-attempts: 2

How many times a query is retried before the domain counts as unresolvable.

Values

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

Two attempts is a short fuse for a lookup that ends in a permanent failure. A resolver that is merely busy — a momentary loss on the path, a public resolver throttling — costs the message its whole delivery, because an unresolvable domain is not retried later: it is failed with 5.4.4 and published to failure. The documentation says five. The build says two, and the build is what runs.

What happens if you get it wrong

Two attempts against a throttling public resolver.Transient throttling turns into permanent delivery failures, and the failure reason names DNS rather than the resolver's rate limit.inference · inference