Files
bind9/bin/named
Michał Kępień 457738b3bb 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.

(cherry picked from commit 857a40c87b)
(cherry picked from commit 590f092e00)
2018-02-26 15:17:09 -08:00
..
2018-02-16 15:06:51 +11:00
2018-02-16 14:58:17 +11:00
2017-10-03 00:43:19 -07:00
2016-08-29 11:56:56 -07:00
2017-10-06 23:46:41 +00:00
2017-10-19 23:46:54 +00:00
2017-08-30 01:21:44 +00:00
2017-08-30 01:21:44 +00:00
2017-08-30 01:21:44 +00:00
2017-08-30 01:21:44 +00:00
2018-01-13 23:48:14 +00:00
2018-02-26 15:17:09 -08:00
2018-02-16 14:58:18 +11:00