bind9/bin/tests/system/nsupdate/ns1
Michał Kępień 857a40c87b Fix MX checks for dynamic updates
The check_mx() function in lib/ns/update.c incorrectly tests whether the
DNS_RDATA_CHECKMX/DNS_RDATA_CHECKMXFAIL flags are set for each applied
MX record update as these flags are never set in code paths related to
dynamic updates; they can only be set when loading a zone from a master
file (DNS_ZONEOPT_CHECKMX -> DNS_MASTER_CHECKMX -> DNS_RDATA_CHECKMX).
This flaw allows MX records containing IP addresses to be added to a
zone even when "check-mx fail;" is used.

Ensure correct behavior by modifying the relevant tests in check_mx() so
that they use DNS_ZONEOPT_CHECKMX/DNS_ZONEOPT_CHECKMXFAIL instead.
2018-02-26 13:10:45 +01:00
..
example1.db Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
many.test.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
max-ttl.db Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
maxjournal.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
named.conf.in Fix MX checks for dynamic updates 2018-02-26 13:10:45 +01:00
sample.db.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00