3 ms·
Most systems do not round-robin by default afaik. They just try the listed DNS servers in order (and resolv.conf will only respect the first 3 IIRC). DNS fallb
by cookiecaper 8y ago
Most systems do not round-robin by default afaik. They just try the listed DNS servers in order (and resolv.conf will only respect the first 3 IIRC).
DNS fallback is often also misunderstood to mean "fall back if the domain is not found", but it really means "fall back if the name server fails to respond". If the domain is not found (i.e. servers returns a valid NXDOMAIN response), most resolvers do not consult any other name servers.
Round-robin, cascading name lookups, and other frequently desired functionality can be obtained through dnsmasq or similar caching/forwarding name servers.
- LinuxBender 8y agoThere are also options for libc that affect this behavior that can be set in /etc/resolv.conf like: options timeout:2 retries:2 max-inflight:768 max-timeouts:100 single-request-reopen rotate There are man pages that describe these options.