bind9/lib
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
..
bind9 minor cleanup and addressed a sprintf format warning 2018-02-24 17:56:17 -08:00
dns minor cleanup and addressed a sprintf format warning 2018-02-24 17:56:17 -08:00
irs Merge branch 'kyua-oot' into 'master' 2018-02-23 18:22:59 -05:00
isc update printf format to match type 2018-02-24 17:50:41 -08:00
isccc Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
isccfg Merge branch 'kyua-oot' into 'master' 2018-02-23 18:22:59 -05:00
ns Fix MX checks for dynamic updates 2018-02-26 13:10:45 +01:00
samples Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
tests Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
win32/bindevt Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Atffile [master] add libns and remove liblwres 2017-09-08 13:47:34 -07:00
Kyuafile regen master 2017-12-29 01:44:18 +00:00
Makefile.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:12:02 +01:00