]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
clarify even FURTHER that the pipe backend does not get the qname from the packet
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 28 May 2015 09:58:07 +0000 (11:58 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 28 May 2015 09:58:07 +0000 (11:58 +0200)
modules/pipebackend/backend.pl

index 583e346035aeb4506c40413abcb50619fb596d29..a766d352b02e6c0e3db70fe87744788cc500cfd4 100755 (executable)
@@ -29,6 +29,7 @@ while(<>)
                next;
        }
 
+       # note! the qname is what PowerDNS asks the backend. It need not be what the internet asked PowerDNS!
        my ($type,$qname,$qclass,$qtype,$id,$ip)=split(/\t/);
 
        if(($qtype eq "SOA" || $qtype eq "ANY") && $qname eq "example.com") {