::arg().setSwitch("slave","Act as a slave")="no";
::arg().setSwitch("master","Act as a master")="no";
+ ::arg().setSwitch("disable-axfr-rectify","Disable the rectify step during an outgoing AXFR. Only required for regression testing.")="no";
::arg().setSwitch("guardian","Run within a guardian process")="no";
::arg().setSwitch("send-root-referral","Send out old-fashioned root-referral instead of ServFail in case of no authority")="no";
::arg().setSwitch("prevent-self-notification","Don't send notifications to what we think is ourself")="yes";
<listitem><para>
Do not allow zone transfers. Before 2.9.10, this could be overridden by allow-axfr-ips.
</para></listitem></varlistentry>
+ <varlistentry><term>disable-axfr-rectify=...</term>
+ <listitem><para>
+ Disable the rectify step during an outgoing AXFR. Only required for regression testing.
+ Default is no."/>.
+ </para></listitem></varlistentry>
<varlistentry><term>disable-tcp=...</term>
<listitem><para>
Do not listen to TCP queries. Breaks RFC compliance.
#
# disable-axfr=no
+#################################
+# disable-axfr-rectify Disable the rectify step during an outgoing AXFR. Only required for regression testing.
+#
+# disable-axfr-rectify=no
+
#################################
# disable-tcp Do not listen to TCP queries
#
}
- const bool rectify = true; // TODO add config option
+ const bool rectify = !(presignedZone || ::arg().mustDo("disable-axfr-rectify"));
set<string> qnames, nsset, terms;
vector<DNSResourceRecord> rrs;
--send-root-referral \
--allow-2136-from=127.0.0.0/8 --experimental-rfc2136=yes \
--cache-ttl=$cachettl --no-config --experimental-dname-processing \
- --bind-ignore-broken-records=yes &
+ --bind-ignore-broken-records=yes --disable-axfr-rectify=yes &
skipreasons="nodnssec nodyndns nometa"
bindwait
;;
--send-root-referral \
--allow-2136-from=127.0.0.0/8 --experimental-rfc2136=yes --direct-dnskey=yes \
--cache-ttl=$cachettl --no-config --experimental-dname-processing \
- --bind-ignore-broken-records=yes $lua_prequery &
+ --bind-ignore-broken-records=yes --disable-axfr-rectify=yes $lua_prequery &
bindwait
;;
--config-name=$backend --socket-dir=./ --no-shuffle \
--send-root-referral \
--allow-2136-from=127.0.0.0/8 --experimental-rfc2136=yes \
- --cache-ttl=$cachettl --experimental-dname-processing $lua_prequery &
+ --cache-ttl=$cachettl --experimental-dname-processing \
+ --disable-axfr-rectify=yes $lua_prequery &
if [ $context = ${backend}-nsec3 ]
then