Replies: 2 comments 1 reply
|
Listing several servers against one forward zone tells the Recursor they are all copies of the same zone. It orders them by measured response time (random tie-break) and asks one, moving on only if that one doesn't answer. If the server it picks doesn't hold the PTR you asked for, it replies NXDOMAIN, which is a perfectly valid answer, so you get the intermittent misses you're seeing. The fix is to tell the Recursor which server owns which part of the space. Two ways to do that: 1. Forward the more specific reverse zones separately (simplest). The Recursor picks the longest matching forward zone, so you can keep a catch-all for recursor:
forward_zones:
- zone: 10.in-addr.arpa
forwarders: [192.0.2.10] # everything not listed below
- zone: 20.10.in-addr.arpa
forwarders: [192.0.2.20] # 10.20.0.0/16, e.g. the DHCP server
- zone: 5.30.10.in-addr.arpa
forwarders: [192.0.2.30] # 10.30.5.0/24(Old-style config: Each server just needs to answer for the names in its range, whether it has a zone called exactly 2. Delegate inside the zone. Keep a single forward for On AXFR: a transfer copies one zone from one primary, so it can't merge pieces of the same Both options need clean boundaries on octets (/8, /16, /24). If two servers share addresses within one /24, that /24 has to live on one server. |
Uh oh!
There was an error while loading. Please reload this page.
I have multiple DNS servers I want to query which hold parts of 10.in-addr.arpa. (as they are either handling DHCP for clients and adding them to a domain, or handling different domains). The forward zones are simple to configure (these are well separated), but as these services all operate within the same private IP range, there is no clean separation for the 10.in-addr.arpa. zone. I am currently listing all the authoritative servers in the zone, but my understanding is this will only ask a single server? Would it make sense to try to use AXFR to merge the 10.in-addr.arpa. zone, or is there a better way?
All reactions