From: Bert Hubert Date: Thu, 9 Dec 2010 18:00:15 +0000 (+0000) Subject: thanks to OpenDNSSEC and Marcus Lauer for discovering that pdns outgoing notification... X-Git-Tag: rec-3.3.1~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6da6416987578944d9b40651bbfec473b10f04ee;p=pdns thanks to OpenDNSSEC and Marcus Lauer for discovering that pdns outgoing notifications did not carry an AA flag git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1746 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/resolver.cc b/pdns/resolver.cc index 94fac7789..1d07d531b 100644 --- a/pdns/resolver.cc +++ b/pdns/resolver.cc @@ -119,6 +119,7 @@ int Resolver::notify(int sock, const string &domain, const string &ip, uint16_t vector packet; DNSPacketWriter pw(packet, domain, QType::SOA, 1, Opcode::Notify); pw.getHeader()->id = d_randomid = id; + pw.getHeader()->aa = true; ComboAddress dest(ip, 53);