chiark / gitweb /
Check glueless nameservers, too - properly.
authorianmdlvl <ianmdlvl>
Fri, 11 Jan 2002 23:47:58 +0000 (23:47 +0000)
committerianmdlvl <ianmdlvl>
Fri, 11 Jan 2002 23:47:58 +0000 (23:47 +0000)
scripts/named-conf

index 5e694a3..3c92ece 100755 (executable)
@@ -424,7 +424,9 @@ sub zone_check_nsrrset ($$$$) {
                           @{ $cfg->{'conv_glueless'} };
            ($rcode,@glue)= lookup($s,'a','0',"glueless NS from $ww");
            foreach $a (@glue) {
-               zone_server_addr($a,$s,"glueless NS from $ww","NS [$uaddr]",0);
+               $wwn= "glueless NS from $ww";
+               push @to_check, $a, "$s, $wwn", $s, 0;
+               zone_server_addr($a,$s,$wwn,"NS [$uaddr]",0);
            }
        }
        $glue= join ' ', sort @glue;