]> granicus.if.org Git - pdns/commitdiff
thanks to OpenDNSSEC and Marcus Lauer for discovering that pdns outgoing notification...
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 9 Dec 2010 18:00:15 +0000 (18:00 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 9 Dec 2010 18:00:15 +0000 (18:00 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1746 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/resolver.cc

index 94fac77895e2b8f964b42b01487fe8aa9e03f0b6..1d07d531b402c95f2554cffacd63e6c3b883ab97 100644 (file)
@@ -119,6 +119,7 @@ int Resolver::notify(int sock, const string &domain, const string &ip, uint16_t
   vector<uint8_t> packet;
   DNSPacketWriter pw(packet, domain, QType::SOA, 1, Opcode::Notify);
   pw.getHeader()->id = d_randomid = id;
+  pw.getHeader()->aa = true; 
   
   ComboAddress dest(ip, 53);