zonemaster-engine icon indicating copy to clipboard operation
zonemaster-engine copied to clipboard

Use normal DNS lookup for ASN CONNECTIVITY03/04

Open matsduf opened this issue 2 years ago • 0 comments

Zonemaster uses DNS for ASN lookups. It takes the base name in the configuration, asnlookup.zonemaster.net (default), and adds a "prefix" to create the lookup name, e.g. 58.96.21.46.origin.asnlookup.zonemaster.net and queries for the TXT record.

Normal DNS lookup takes the name and follow any delegations to get to the authoritative nameservers of the data. That is not what Zonemaster does in this case. It requires asnlookup.zonemaster.net to be a zone, which prevents the administration to change zone cuts, as in normal DNS world. And it does not follow CNAME.

Zonemaster should just use normal DNS resolving methods to look these names up, follow the zone cuts as they are and follow any CNAME.

The function is used by CONNECTIVITY03 and CONNECTIVITY04.

matsduf avatar Jul 13 '23 13:07 matsduf