::arg().set("cache-ttl","Seconds to store packets in the PacketCache")="20";
::arg().set("negquery-cache-ttl","Seconds to store negative query results in the QueryCache")="60";
::arg().set("query-cache-ttl","Seconds to store query results in the QueryCache")="20";
+ ::arg().set("zone-cache-refresh-interval", "Seconds to cache list of known zones") = "300";
::arg().set("default-soa-content","Default SOA content")="a.misconfigured.dns.server.invalid hostmaster.@ 0 10800 3600 604800 3600";
::arg().set("chroot","Switch to this chroot jail")="";
::arg().set("dnssec-key-cache-ttl","Seconds to cache DNSSEC keys from the database")="30";
}
}
+ if (::arg().asNum("zone-cache-refresh-interval") != 0) {
+ cout << "If the authoritative server is running, be sure to refresh its zone cache" << endl << "with 'pdns_control rediscover'" << endl;
+ }
+
return EXIT_SUCCESS;
}
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
New rrset:
bug.less. 3600 IN NS no.bug.less.
New rrset:
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
sequential generator generated 1 2 3 correctly
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
random generator generated something other than 1 2 3, good
=== random=no
== creating zone
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
WARNING: local files have been created as a result of this operation.
Be sure to check the files owner, group and permission to make sure that
the authoritative server can correctly use them.
== deleting zone
=== random=yes
== creating zone
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
WARNING: local files have been created as a result of this operation.
Be sure to check the files owner, group and permission to make sure that
the authoritative server can correctly use them.
Creating empty zone 'example.com..variant1'
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
This is a Native zone
Variant: variant1
Zone is not actively secured
SOA-EDIT-API DEFAULT
No keys for zone 'example.com..variant1'.
Creating empty zone '..myroot'
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
This is a Native zone
Variant: myroot
Zone is not actively secured
SOA-EDIT-API DEFAULT
No keys for zone '..myroot'.
Creating empty zone '.'
+If the authoritative server is running, be sure to refresh its zone cache
+with 'pdns_control rediscover'
This is a Native zone
Zone is not actively secured
Metadata items: