summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-07-17 04:54:00 +0000
committerdillon <dillon@FreeBSD.org>2001-07-17 04:54:00 +0000
commit9fb9ef60e6a7fa3e0cf2524a73df2edc709ccc12 (patch)
treeed9b36148ac25f05cca59ea497694c8c8acfd8fa /usr.sbin
parent41f378ca9ed5161199f2b5bb1663a996243cf671 (diff)
downloadFreeBSD-src-9fb9ef60e6a7fa3e0cf2524a73df2edc709ccc12.zip
FreeBSD-src-9fb9ef60e6a7fa3e0cf2524a73df2edc709ccc12.tar.gz
Set the NOADDITIONAL flag for bind. This removes the 5% ttl reduction
for glue records and forces the glue record to be reloaded from the real NS. The 5% ttl reduction can cause the glue IN A to timeout before the NS record in certain situations, such as when the domain owner does not match up NS records with the NIC. This behavior by domain owners is becoming more common as primary zone serving iterates through another glue level (i.e. exodus hosts the master NS's but the customer then redirects the NS's to the real DNS servers). The result is that named would appear to work properly for about 40 minutes, and then unexpectedly fail for that zone. This causes named to behave very inconsistently and a google search shows that it has obviously frustrated many, many people. So until the bind guys make named behave consistently (either fail instantly or accomodate the case), we need to set this option to accomodate the case. The result will be much more consistent behavior and fewer head-scratching failures. MFC after: 3 days
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/named/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/named/Makefile.inc b/usr.sbin/named/Makefile.inc
index 27b8c40..820951d 100644
--- a/usr.sbin/named/Makefile.inc
+++ b/usr.sbin/named/Makefile.inc
@@ -17,7 +17,8 @@ DESTSBIN= /usr/sbin
DESTHELP= /usr/share/misc
CFLAGS+= -I${BIND_DIR}/port/freebsd/include \
- -I${.CURDIR}/../../contrib/bind/bin/named
+ -I${.CURDIR}/../../contrib/bind/bin/named \
+ -DNOADDITIONAL
# This is mostly for named and named-xfer
.if defined(USE_LIBBIND)
OpenPOWER on IntegriCloud