How does a child find its parent?
kcd at chrysler.com
Tue May 8 18:14:28 UTC 2012
On 5/8/2012 1:56 PM, Mike Bernhardt wrote:
> Reading the section on delegation in the O'Reilly book, I'm confused about
> something: The parent is configured to delegate the subdomain to the child
> with glue records, etc. But how does the child know who to ask if a host in
> the subdomain requests a record in the parent zone? They don't show any
> configuration example for that other than making the child a slave for the
> parent zone.
It would follow the same algorithm as it would for queries of names in a
completely different namespace, e.g. it might follow the delegation
chain down from the root zone.
Note, however, that it is generally considered good practice to separate
recursive and non-recursive functions. If that practice is followed, an
authoritative server for a zone won't be trying to answer queries about
its parent zone, unless it also happens to be authoritative for that
parent zone (in which case it has an authoritative copy of the zone and
it's a moot point).
More information about the bind-users