]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update backend.pl 2035/head
authorKevin Otte <nivex@nivex.net>
Thu, 1 Jan 2015 19:53:34 +0000 (14:53 -0500)
committerKevin Otte <nivex@nivex.net>
Thu, 1 Jan 2015 19:53:34 +0000 (14:53 -0500)
SOA record format is "hostname email serial ..."
Example has hostname and email flipped.

modules/pipebackend/backend.pl

index cdc906dd3941a94f04496718d18095500163c87a..2bd6acfbe8785dbeb9c5da0461427835fb83bd99 100755 (executable)
@@ -33,7 +33,7 @@ while(<>)
 
        if(($qtype eq "SOA" || $qtype eq "ANY") && $qname eq "example.com") {
                print STDERR "$$ Sent SOA records\n";
-               print "DATA     $qname  $qclass SOA     3600    -1      ahu.example.com ns1.example.com 2008080300 1800 3600 604800 3600\n";
+               print "DATA     $qname  $qclass SOA     3600    -1      ns1.example.com ahu.example.com 2008080300 1800 3600 604800 3600\n";
        }
        if(($qtype eq "NS" || $qtype eq "ANY") && $qname eq "example.com") {
                print STDERR "$$ Sent NS records\n";