You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server returns records even if they are occluded by a DNAME. pdnsutil check-all-zones returns a warning except when the DNAME is at the root of the zone.
For the query <c.d.campus.edu., A> the PDNS server returns the IP record and doesn't use the DNAME record. Other implementations either refuse to load the zone file or ignore the records below the DNAME as suggested by the RFC 6672, section 2.4.
When checked with pdnsutil, it tells the user about the occlusion:
[Warning] 'c.d.campus.edu|A' in zone 'campus.edu' is occluded by a DNAME at 'd.campus.edu.'
Checked 4 records of 'campus.edu,' 0 errors, 1 warnings.
We generally expect the user to first check with pdnsutil and fix issues before loading zone files, but it might also be helpful to either turn it into an error or ignore those occluded records.
The other interesting case is the following zone file:
When the DNAME record is at the zone apex, then pdnsutil does not warn and loads the zone file. It returns the IP record when queried for foo.campus.edu., preferring it over the DNAME record.
Expected/Actual behavior
I expected the DNAME record to be preferred.
The text was updated successfully, but these errors were encountered:
Short description
The server returns records even if they are occluded by a DNAME.
pdnsutil check-all-zones
returns a warning except when theDNAME
is at the root of the zone.Environment
Steps to reproduce
Consider the following zone file:
For the query
<c.d.campus.edu., A>
the PDNS server returns the IP record and doesn't use theDNAME
record. Other implementations either refuse to load the zone file or ignore the records below theDNAME
as suggested by the RFC 6672, section 2.4.When checked with
pdnsutil
, it tells the user about the occlusion:We generally expect the user to first check with
pdnsutil
and fix issues before loading zone files, but it might also be helpful to either turn it into an error or ignore those occluded records.The other interesting case is the following zone file:
When the
DNAME
record is at the zone apex, thenpdnsutil
does not warn and loads the zone file. It returns the IP record when queried forfoo.campus.edu.
, preferring it over theDNAME
record.Expected/Actual behavior
I expected the
DNAME
record to be preferred.The text was updated successfully, but these errors were encountered: