From cce04313d9f88d3c4372555651daf78a9c771ce2 Mon Sep 17 00:00:00 2001 From: Thomas Markwalder Date: Wed, 26 Sep 2018 10:54:45 -0400 Subject: [PATCH] [master] Correct BIND9 dns API call constant Merges in rt47757 --- RELNOTES | 16 ++++++++++++++-- common/dns.c | 4 ++-- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/RELNOTES b/RELNOTES index 331f3fd46..04fd0ee7e 100644 --- a/RELNOTES +++ b/RELNOTES @@ -87,9 +87,21 @@ ISC DHCP is open source software maintained by Internet Systems Consortium. This product includes cryptographic software written by Eric Young (eay@cryptsoft.com). - Changes since 4.4.0 (New Features) + Changes since 4.4.1 (New Features) - none - Changes since 4.4.0 (Bug Fixes) + + Changes since 4.4.1 (Bug Fixes) + +- Corrected a misuse of the BIND9 DDNS API which caused DDNS updates to be + carried out over TCP rather than UDP. The coding error was exposed by + migration to BIND9 9.11. Thanks to Jinmei Tatuya at Infoblox for + reporting the issue. + [ISC-Bugs #47757] + + Changes since 4.4.0 (New Features) +- none + + Changes since 4.4.0 (Bug Fixes) - A delayed-ack value of 0 (the default), now correctly disables the delayed feature. A change in 4.4.0 prohibited lease updates marking leases active diff --git a/common/dns.c b/common/dns.c index 44c42582c..bcebc6356 100644 --- a/common/dns.c +++ b/common/dns.c @@ -2708,7 +2708,7 @@ ddns_modify_fwd(dhcp_ddns_cb_t *ddns_cb, const char *file, int line) dns_rdataclass_in, zname, &prereqlist, &updatelist, zlist, tsec_key, - DNS_CLIENTRESOPT_ALLOWRUN, + DNS_CLIENTUPDOPT_ALLOWRUN, dhcp_gbl_ctx.task, ddns_interlude, (void *)ddns_cb, @@ -2903,7 +2903,7 @@ ddns_modify_ptr(dhcp_ddns_cb_t *ddns_cb, const char *file, int line) dns_rdataclass_in, zname, NULL, &updatelist, zlist, tsec_key, - DNS_CLIENTRESOPT_ALLOWRUN, + DNS_CLIENTUPDOPT_ALLOWRUN, dhcp_gbl_ctx.task, ddns_interlude, (void *)ddns_cb, &ddns_cb->transaction); -- 2.47.2