::arg().set("include-dir","Include *.conf files from this directory");
::arg().set("security-poll-suffix","Domain name from which to query security update notifications")="secpoll.powerdns.com.";
+
+ ::arg().setSwitch("outgoing-axfr-expand-alias", "Expand ALIAS records during outgoing AXFR")="no";
}
static time_t s_start=time(0);
#
# out-of-zone-additional-processing=yes
+#################################
+# outgoing-axfr-expand-alias Expand ALIAS records during outgoing AXFR
+#
+# outgoing-axfr-expand-alias=no
+
#################################
# overload-queue-length Maximum queuelength moving to packetcache only
#
while(sd.db->get(rr)) {
if(rr.qname.isPartOf(target)) {
- if (rr.qtype.getCode() == QType::ALIAS) {
+ if (rr.qtype.getCode() == QType::ALIAS && ::arg().mustDo("outgoing-axfr-expand-alias")) {
FindNS fns;
vector<string> ips=fns.lookup(DNSName(rr.content), (DNSBackend *) NULL);
for(const auto& ip: ips) {