Repository navigation
Strange reference to localhost IP addresses in Consistency05 #1537
Copy link
Copy link
Closed
Labels
A-TestCaseArea: Test case specification or implementation of test caseArea: Test case specification or implementation of test caseT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description
Milestone
Description
When running a test on mnc001.mcc240.pub.3gppnetwork.org or mnc002.mcc240.pub.3gppnetwork.org Zonemaster refer to localhost IP addresses (127.0.0.1 and ::1) that cannot be found when doing lookups with e.g. dig. Below the result of tests with zonemaster-cli are presented.
In the results note e.g dns358.fi.telia.net./127.0.0.1 and ns.hi3gaccess.se./::1.
$ zonemaster-cli --test consistency05 mnc001.mcc240.pub.3gppnetwork.org
Seconds Level Testcase Message
======= ======== ============== =======
8.04 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (dns358.fi.telia.net./127.0.0.1;dns358.fi.telia.net./::1) and any equivalent address record found in authoritative zone (dns358.fi.telia.net./88.194.40.67).
8.05 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (dns2.telia.com./127.0.0.1;dns2.telia.com./::1) and any equivalent address record found in authoritative zone (dns2.telia.com./2001:2040:c001:401::6;dns2.telia.com./81.228.10.67).
8.06 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (dns1.telia.com./127.0.0.1;dns1.telia.com./::1) and any equivalent address record found in authoritative zone (dns1.telia.com./2001:2040:c001:101::5;dns1.telia.com./81.228.11.67).
8.07 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (dns49.de.telia.net./127.0.0.1;dns49.de.telia.net./::1) and any equivalent address record found in authoritative zone (dns49.de.telia.net./2001:2030:c000:5::4;dns49.de.telia.net./213.248.77.82).
$ zonemaster-cli --test consistency05 mnc002.mcc240.pub.3gppnetwork.org
Seconds Level Testcase Message
======= ======== ============== =======
6.31 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (ns.hi3gaccess.se./127.0.0.1;ns.hi3gaccess.se./2a02:aa0::53;ns.hi3gaccess.se./80.251.192.244;ns.hi3gaccess.se./::1) and any equivalent address record found in authoritative zone (ns.hi3gaccess.se./2a02:aa0::53;ns.hi3gaccess.se./80.251.192.244).
6.33 ERROR Consistency05 Out-of-bailiwick name server listed at parent with glue record has a mismatch between the glue at the parent (ns2.hi3gaccess.se./127.0.0.1;ns2.hi3gaccess.se./2a02:aa0::54;ns2.hi3gaccess.se./80.251.192.245;ns2.hi3gaccess.se./::1) and any equivalent address record found in authoritative zone (ns2.hi3gaccess.se./2a02:aa0::54;ns2.hi3gaccess.se./80.251.192.245).
Test results can also be found on https://zonemaster.se/en/result/2c989f23ca522ccc/ and https://zonemaster.se/en/result/23250942dd4ef08c/, respectively.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-TestCaseArea: Test case specification or implementation of test caseArea: Test case specification or implementation of test caseT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description
Activity
matsduf commentedon Jul 1, 2026
PR zonemaster/zonemaster#1514 adds two test scenarios that in the test zone environment reproduce the bug reported in this issue.
What triggers the bug in Zonemaster is the fact that that some of the NS of the parent zone (
3gppnetwork.org) host a root zone with wildcard records, e.g.You can test with RR type AAAA and TXT too. You can test the other ".cloudns." servers too. And you can replace "*" with any name of you choice, e.g. "dns2.telia.com".
Zonemaster should not be affected by that root zone.
matsduf commentedon Jul 2, 2026
I want to add the following for you to better understand what is going on.
During the process of Consistency05 Zonemaster sends queries for address records (A and AAAA) for the names that the out-of-bailiwick NS points at (i.e. the name server names) to the name servers of the parent zone. When DNS records are returned (such in this case when some parent servers host a root zone with wildcard address records) they are included as glue records in the delegation from the parent zone. It is not expected to send such queries, and in most cases no records are returned in the response (rather a REFUSED).
Consistency05 must be updated to get rid of the behavior.
To see the queries that Zonemaster sends, run
zonemaster-cliwith debug level 3. Preferably limiting the tests to the specific test case. With "--raw" only the tag is outputted, not the entire message.Look for "127.0.0.1" to see the unwanted responses.
Adds two scenarios that reproduces a bug reported in zonemaster/zonem…
matsduf commentedon Sep 30, 2026
Resolved by #1547