From: Ruben d'Arco Date: Fri, 15 Feb 2013 13:11:43 +0000 (+0100) Subject: Actually update the soa.... X-Git-Tag: rec-3.6.0-rc1~556^2~3^2~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e0ab216830f844ac37f9fbd231bd702e520743d;p=thirdparty%2Fpdns.git Actually update the soa.... (woeps!) --- diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index e113e0c55f..e9434ecb80 100755 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -671,6 +671,8 @@ void PacketHandler::increaseSerial(const string &msgPrefix, const DomainInfo& di newRec.content = serializeSOAData(soa2Update); - //di.backend->updateRecord(rec, newRec); + vector rrset; + rrset.push_back(newRec); + di.backend->replaceRRSet(di.id, newRec.qname, newRec.qtype, rrset); PC.purge(newRec.qname); } \ No newline at end of file