.. warning::
Notifications are only sent for domains with type MASTER in
- your backend.
+ your backend unless :ref:`setting-slave-renotify` is enabled.
Left open by :rfc:`1996` is who is to be notified - which is harder to
figure out than it sounds. All slaves for this domain must receive a
:ref:`setting-soa-retry-default` seconds
between checks. With default settings, this means that PowerDNS will
back off for 1, then 2, then 3 etc. minutes, to a maximum of 60 minutes
-between checks.
+between checks. The same hold back algorithm is also applied if the zone
+transfer fails due to problems on the master, i.e. if zone transfer is
+not allowed.
+
+Receiving a NOTIFY immediately clears the back off period for the
+respective domain to allow immediately freshness checks for this domain.
.. warning::
Slave support is OFF by default, turn it on by adding
Before a supermaster notification succeeds, the following conditions
must be met:
+ - :ref:`setting-supermaster` support must be enabled
- The supermaster must carry a SOA record for the notified domain
- The supermaster IP must be present in the 'supermaster' table
- The set of NS records for the domain, as retrieved by the slave from the supermaster, must include the name that goes with the IP address in the supermaster table
if record:qtype() == pdns.HINFO then
resp = {}
resp[1] = {
- qname = record:qname:toString(),
+ qname = record:qname():toString(),
qtype = pdns.TXT,
ttl = 99,
content = "Hello Ahu!"
end
-- Grab each _tstamp TXT record and add a time stamp
- if record:qtype() == pdns.TXT and string.starts(record:qname:toString(), "_tstamp.") then
+ if record:qtype() == pdns.TXT and string.starts(record:qname():toString(), "_tstamp.") then
resp = {}
resp[1] = {
qname = record:qname():toString(),
if record:qtype() == pdns.A then
resp = {}
resp[1] = {
- qname = record:qname:toString(),
+ qname = record:qname():toString(),
qtype = pdns.TXT,
ttl = 99,
content = "Hello Ahu, again!"