Opened 8 years ago

Last modified 8 years ago

#6581 defect new

FileAuthority._lookup incorrectly returns AuthoritativeDomainError (NXDOMAIN) for names in known child zones.

Reported by: Richard Wall Owned by:
Priority: normal Milestone:
Component: names Keywords:
Cc: Branch:


FileAuthority._lookup assumes that it can answer authoritatively for any subdomain of its SOA name.

It currently answers with NXDOMAIN if the QNAME is not found but is a subdomain of the SOA record.

It currently only sends a referral if the QNAME exactly matches the child zone root.

The _lookup function should probably iterate through all its records looking for subdomain names which have associated NS records. These represent delegations to child zones.

If the Query name is equal to or a subdomain of any of these, the answer should always be a referral. ie 0 answers, authority containing the NS records and additional containing any glue A and AAAA records for the hostnames referred to in those NS records.

See #6580 for an related issue with the ordering of child zone and parent zone lookup.

See ticket:6475#comment:2 for original discovery of this and other related issues.

Change History (1)

comment:1 Changed 8 years ago by Richard Wall

Component: corenames
Type: enhancementdefect

Oops. Should have been a names defect.

Note: See TracTickets for help on using tickets.