]> git.ipfire.org Git - thirdparty/pdns.git/commit
slaveRefresh: avoid extra SOA lookups
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 14 Sep 2020 20:36:55 +0000 (22:36 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Thu, 24 Sep 2020 12:02:40 +0000 (14:02 +0200)
commite0b2cb182b0025b7f09bc9494bab071c73802af2
treec1e8421061967854744b141121a562ddd6484c21
parent6043b137abfadf7885b331c36a6c66cd74fcf89d
slaveRefresh: avoid extra SOA lookups

For incoming NOTIFYs, we already call getDomainInfo, so reuse the serial
from there. For unfresh domains, we already have a serial from the
backend.

However, a serial of 0 is now always considered stale.
pdns/slavecommunicator.cc