zonemaster icon indicating copy to clipboard operation
zonemaster copied to clipboard

Update specification Zone09 (ignore, some authoritative answer with different TTL)

Open andreasschulze opened this issue 9 months ago • 3 comments

as discussed on the list, there are some nameservers, answering with diffentent TTL This trigger a warning in Zone09 The MX RRset data is inconsistent between the name servers as in https://zonemaster.net/en/result/25fac1b2d8532e8e

ZM [sh|c]ould ignore the TTL.

example (repeat multiple times to see different TTL):

$ for ip in $(for s in $( dig masternerd.net. ns +short); do dig $s A +short; dig $s AAAA +short; done); do dig @$ip masternerd.net. mx +norec | grep -i ^masternerd.net; done
masternerd.net.         299     IN      MX      10 smtpin.rzone.de.
masternerd.net.         282     IN      MX      10 smtpin.rzone.de.
masternerd.net.         300     IN      MX      10 smtpin.rzone.de.
masternerd.net.         273     IN      MX      10 smtpin.rzone.de.
masternerd.net.         300     IN      MX      10 smtpin.rzone.de.
masternerd.net.         283     IN      MX      10 smtpin.rzone.de.

andreasschulze avatar Mar 06 '25 19:03 andreasschulze

I moved this issue to Zonemaster-Engine, and then consider it to be an implementation error. It seems to be incorrect that Zone09 outputs Z09_INCONSISTENT_MX_DATA ("The MX RRset data is inconsistent between the name servers"). However, this issue also raises the question if the specification should be updated so that differences in TTL are discoverd and reported with a different message. For now the first step should be taken.

Also see https://github.com/zonemaster/zonemaster/issues/1366

matsduf avatar Mar 06 '25 22:03 matsduf

$ zonemaster-cli --show-testcase --test Zone09 masternerd.net --level info --raw
   0.00 INFO     Unspecified    GLOBAL_VERSION  version=v7.1.0
   0.82 WARNING  Zone09         Z09_INCONSISTENT_MX_DATA  
   0.82 INFO     Zone09         Z09_MX_DATA  mailtarget_list=smtpin.rzone.de.; ns_ip_list=172.64.49.209;2606:4700:52::ac40:31d1
   0.82 INFO     Zone09         Z09_MX_DATA  mailtarget_list=smtpin.rzone.de.; ns_ip_list=172.64.52.210;2606:4700:52::ac40:34d2
   0.82 INFO     Zone09         Z09_MX_DATA  mailtarget_list=smtpin.rzone.de.; ns_ip_list=172.64.53.21;2606:4700:5a::ac40:3515

matsduf avatar Mar 06 '25 22:03 matsduf

First an update of the specification so that it is more specific and includes test of TTL. Also test scenarios have to be extended.

matsduf avatar Mar 18 '25 15:03 matsduf