Report information
The Basics
Id:
45310
Status:
resolved
Priority:
Medium/Medium
Queue:

BugTracker
Version Fixed:
9.11.2, 9.12.0
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
P2 Normal
Severity:
S2 Normal
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
BIND Server
Area:
bug

Dates
Created:Wed, 31 May 2017 11:01:18 -0400
Updated:Fri, 28 Jul 2017 22:53:25 -0400
Closed:Mon, 10 Jul 2017 18:44:34 -0400



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
Date: Wed, 31 May 2017 15:01:10 +0000
To: bind-bugs@isc.org
From: "Chuck Aurora" <ca-isc@nodns4.us>
Bug Report from www.isc.org: Name: Chuck Aurora Email: ca-isc@nodns4.us Software Version: BIND 9.11.1 OS: Linux (Slackware 14.2) Subject:rndc reconfig wipes out catalog zone slaves Bug Detail =========== Also described at https://lists.isc.org/pipermail/bind-users/2017-May/098643.html et seq. When a change is needed in a catalog zone slave server's named.conf, "rndc reconfig" or "rndc reload" removes all catalog zone member slaves. The only fix I have is to remove the catalog-zones option from the slave server's options{}, stop and restart named. This is very troublesome when these slave servers have been published as NS for the zones in question; clients receive REFUSED replies to queries, and these quickly fill up logs. Discovered on BIND 9.11.1 on Slackware 13.37, replicated on 9.11.1/Slackware 14.2. --- This email was received through isc.org Bug Submission Form
On Wed May 31 15:01:18 2017, ca-isc@nodns4.us wrote: > Software Version: BIND 9.11.1 > OS: Linux (Slackware 14.2) > Subject:rndc reconfig wipes out catalog zone slaves > > > Bug Detail > =========== > Also described at https://lists.isc.org/pipermail/bind-users/2017- > May/098643.html et seq. > > When a change is needed in a catalog zone slave server's named.conf, > "rndc reconfig" or "rndc reload" removes all catalog zone member > slaves. The only fix I have is to remove the catalog-zones option > from the slave server's options{}, stop and restart named. > > This is very troublesome when these slave servers have been published > as NS for the zones in question; clients receive REFUSED replies to > queries, and these quickly fill up logs. > > Discovered on BIND 9.11.1 on Slackware 13.37, replicated on > 9.11.1/Slackware 14.2. Hi Chuck, We have a theory about what's going on here. In your bind-users post you said that you're using a combination of rndc reconfig and nsupdate to convert the VMs (VM1 in the first instance) from being a master for a number of zones, to being a slave, provisioned using CATZ. There may be some sequencing issues here therefore. If VM1 still has the old zones at the point that they were being provisioned via CATZ, then this is going to fail. If you're trying to convert VM1 from master to CATZ-provisioned in one fell swoop (i.e. with a single rndc reconfig) and not in two steps, then it could be that this is why it's breaking for you. Could you be (just) a little bit more detailed on the migration steps? What was actually being altered when you did the rndc reconfig? Another theory is around how many zones you are actually serving and an integration problem we've uncovered with using LMDB (liblmdb) as the backend new zone databased (NZD). How many zones are involved here, and did you build BIND 9.11 in an environment with liblmdb installed? Cheers, Cathy
Subject: Re: [ISC-Bugs #45310] BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
Date: Thu, 01 Jun 2017 10:52:42 -0500
To: bind9-bugs@isc.org
From: "Chuck Aurora" <ca-isc@nodns4.us>
On 2017-06-01 08:23, Cathy Almond via RT wrote: > On Wed May 31 15:01:18 2017, ca-isc@nodns4.us wrote: > >> Software Version: BIND 9.11.1 >> OS: Linux (Slackware 14.2) >> Subject:rndc reconfig wipes out catalog zone slaves >> >> >> Bug Detail >> =========== >> Also described at https://lists.isc.org/pipermail/bind-users/2017- >> May/098643.html et seq. >> >> When a change is needed in a catalog zone slave server's named.conf, >> "rndc reconfig" or "rndc reload" removes all catalog zone member >> slaves. The only fix I have is to remove the catalog-zones option >> from the slave server's options{}, stop and restart named. >> >> This is very troublesome when these slave servers have been published >> as NS for the zones in question; clients receive REFUSED replies to >> queries, and these quickly fill up logs. >> >> Discovered on BIND 9.11.1 on Slackware 13.37, replicated on >> 9.11.1/Slackware 14.2. > > Hi Chuck, > > We have a theory about what's going on here. > > In your bind-users post you said that you're using a combination of > rndc reconfig and nsupdate to convert the VMs (VM1 in the first > instance) from being a master for a number of zones, to being a slave, > provisioned using CATZ. > > There may be some sequencing issues here therefore. If VM1 still has > the old zones at the point that they were being provisioned via CATZ, > then this is going to fail. If you're trying to convert VM1 from > master to CATZ-provisioned in one fell swoop (i.e. with a single rndc > reconfig) and not in two steps, then it could be that this is why it's > breaking for you. Not the case. I first prepared a file to feed to nsupdate on Master which would add a group of zones to the catalog. Those zones were master zones on VM1 at the time. I first edited the VM1 config to remove those zones, then reconfig on VM1, and then nsupdate on Master. At that time I had three slave zone instances for each listed zone. (Later on I converted the slave statements to masters on Master.) The first time went perfectly, but at that time there were no zones listed in the catalog. > Could you be (just) a little bit more detailed on the migration steps? > > What was actually being altered when you did the rndc reconfig? On VM1, removal of master zone statements to make way for the catalog addition. On VM2 I added an acl list I had forgotten and a rate-limit option. In each case, ALL existing catalog zone members were removed and the queries refused. > Another theory is around how many zones you are actually serving and > an integration problem we've uncovered with using LMDB (liblmdb) as > the backend new zone databased (NZD). Oh, this one has merit, I think we are on to something. Apparently liblmdb is not a firm BIND build requirement, but without it, do we save our NZD at all? That is, is there an alternative to LMDB, which has not [yet] been made a part of Slackware? Was the need for LMDB documented somewhere? > How many zones are involved here, 16 at the point where I stopped migrating. There are a small number of zones yet to migrate. > and did you build BIND 9.11 in an > environment with liblmdb installed? Looks like no, on VM1 ("Shibbleet"): rob0@Shibboleet:~$ cat /etc/slackware-version ; uname -a Slackware 13.37.0 Linux Shibboleet 3.2.79-smp #13 SMP Wed Apr 13 23:26:38 UTC 2016 i686 Intel(R) Xeon(R) CPU X5670 @ 2.93GHz GenuineIntel GNU/Linux rob0@Shibboleet:~$ ldd /usr/sbin/named linux-gate.so.1 => (0xffffe000) liblwres.so.160 => /usr/lib/liblwres.so.160 (0xb76d6000) libdns.so.168 => /usr/lib/libdns.so.168 (0xb74c6000) libbind9.so.160 => /usr/lib/libbind9.so.160 (0xb74b7000) libisccfg.so.160 => /usr/lib/libisccfg.so.160 (0xb749a000) libisccc.so.160 => /usr/lib/libisccc.so.160 (0xb7491000) libisc.so.166 => /usr/lib/libisc.so.166 (0xb7424000) libcrypto.so.0 => /lib/libcrypto.so.0 (0xb72dc000) libcap.so.2 => /lib/libcap.so.2 (0xb72d8000) librt.so.1 => /lib/librt.so.1 (0xb72cf000) libpthread.so.0 => /lib/libpthread.so.0 (0xb72b6000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb718e000) libdl.so.2 => /lib/libdl.so.2 (0xb718a000) libz.so.1 => /usr/lib/libz.so.1 (0xb7176000) libm.so.6 => /lib/libm.so.6 (0xb7150000) libc.so.6 => /lib/libc.so.6 (0xb6fe9000) libattr.so.1 => /lib/libattr.so.1 (0xb6fe3000) /lib/ld-linux.so.2 (0xb76fd000) same on VM2 ("dance"): rob0@dance:~$ ldd /usr/sbin/named linux-vdso.so.1 (0x00007ffee676f000) liblwres.so.160 => /usr/lib64/liblwres.so.160 (0x00007f2646e27000) libdns.so.168 => /usr/lib64/libdns.so.168 (0x00007f2646a11000) libbind9.so.160 => /usr/lib64/libbind9.so.160 (0x00007f2646800000) libisccfg.so.160 => /usr/lib64/libisccfg.so.160 (0x00007f26465d4000) libisccc.so.160 => /usr/lib64/libisccc.so.160 (0x00007f26463ca000) libisc.so.166 => /usr/lib64/libisc.so.166 (0x00007f2646152000) libcrypto.so.1 => /lib64/libcrypto.so.1 (0x00007f2645d01000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f2645afc000) libjson-c.so.2 => /usr/lib64/libjson-c.so.2 (0x00007f26458f1000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f26456d4000) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f264536d000) libz.so.1 => /lib64/libz.so.1 (0x00007f2645157000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007f2644f32000) libm.so.6 => /lib64/libm.so.6 (0x00007f2644c29000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f2644a24000) libc.so.6 => /lib64/libc.so.6 (0x00007f264465b000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f2644456000) /lib64/ld-linux-x86-64.so.2 (0x000055afa6072000) rob0@dance:~$ cat /etc/slackware-version ; uname -a Slackware 14.2 Linux dance 4.4.69 #4 SMP Sat May 20 18:57:07 CDT 2017 x86_64 Westmere E56xx/L56xx/X56xx (Nehalem-C) GenuineIntel GNU/Linux I think I don't have a NZD, now that you mention it. VM1: 26-May-2017 13:57:45.189 config: error: open: _default.nzf: file not found ... a bit further on after all the empty zones loaded: 26-May-2017 13:57:45.196 general: info: zone 56.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 57.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 58.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 59.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 60.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 61.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 62.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone 63.78.158.98.in-addr.arpa/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone stormtracklinux.com/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone lizella.net/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone slackbook.org/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone slackbuilds.org/IN: (slave) removed 26-May-2017 13:57:45.196 general: info: zone walk-on.us/IN: (slave) removed (That was the whole catalog at that point.) 26-May-2017 13:57:45.196 general: info: zone nodns4.us/IN: reconfiguring zone keys 26-May-2017 13:57:45.197 general: info: reloading configuration succeeded 26-May-2017 13:57:45.197 general: info: zone nodns4.us/IN: next key event: 26-May-2017 14:57:45.196 26-May-2017 13:57:45.197 general: info: scheduled loading new zones 26-May-2017 13:57:45.197 general: info: catz: updating catalog zone 'catalog.example' with serial 2017052407 26-May-2017 13:57:45.211 general: info: any newly configured zones are now loaded 26-May-2017 13:57:45.211 general: info: zone dynamic.nodns4.us/IN: reconfiguring zone keys 26-May-2017 13:57:45.211 general: notice: running 26-May-2017 13:57:45.212 general: info: zone dynamic.nodns4.us/IN: next key event: 26-May-2017 14:57:45.211 26-May-2017 13:57:53.280 security: info: client @0x849fa80 95.97.142.106#60189 (ns1.slackbuilds.org): query (cache) 'ns1.slackbuilds.org/AAAA/IN' denied And then a whole slew of denied queries for published zones (catz members which had been removed.) So what I think we have here might be a Slackware packaging bug, not providing something we need to write this <view>.nzf file? I can get this Slackware bug fixed, but I am not sure about the software requirements. Let's go back to VM2, since it's newer and "clean", and look at the working directory: rob0@dance:~$ ls -lR /var/named/ /var/named/: total 16 drwxr-xr-x 2 root root 4096 May 28 21:27 catzones/ drwxr-xr-x 2 root root 4096 May 27 12:46 logs/ -rw-r--r-- 1 root root 821 May 31 12:50 primary.mkeys -rw-r--r-- 1 root root 512 May 31 12:50 primary.mkeys.jnl /var/named/catzones: total 72 -rw-r--r-- 1 root root 283 Jun 1 05:49 __catz__primary_catalog.example_56.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 286 Jun 1 09:47 __catz__primary_catalog.example_57.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 291 Jun 1 07:31 __catz__primary_catalog.example_58.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 278 Jun 1 04:21 __catz__primary_catalog.example_59.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 961 Jun 1 05:18 __catz__primary_catalog.example_60.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 282 Jun 1 08:09 __catz__primary_catalog.example_61.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 729 Jun 1 09:00 __catz__primary_catalog.example_62.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 278 Jun 1 06:49 __catz__primary_catalog.example_63.78.158.98.in-addr.arpa.db -rw-r--r-- 1 root root 1243 Jun 1 10:01 __catz__primary_catalog.example_rlworkman.net.db -rw-r--r-- 1 root root 1221 Jun 1 10:01 __catz__primary_catalog.example_rlworkman.net.db.jnl -rw-r--r-- 1 root root 1561 Jun 1 08:35 __catz__primary_catalog.example_room101.us.eu.org.db -rw-r--r-- 1 root root 837 Jun 1 08:56 __catz__primary_catalog.example_slackbook.org.db -rw-r--r-- 1 root root 3193 Jun 1 09:27 __catz__primary_catalog.example_slackbuilds.org.db -rw-r--r-- 1 root root 765 Jun 1 09:27 __catz__primary_catalog.example_slackbuilds.org.db.jnl -rw-r--r-- 1 root root 621 Jun 1 08:52 __catz__primary_catalog.example_slackpkg.org.db -rw-r--r-- 1 root root 1086 Jun 1 08:50 __catz__primary_catalog.example_stormtracklinux.com.db -rw-r--r-- 1 root root 880 Jun 1 08:22 __catz__primary_catalog.example_tuxaloosa.org.db -rw-r--r-- 1 root root 1176 Jun 1 09:28 __catz__primary_catalog.example_walk-on.us.db /var/named/logs: total 44 -rw-r--r-- 1 root root 37305 Jun 1 09:37 named.log -rw-r--r-- 1 root root 0 May 27 12:46 query.log So it seems that there should be a "/var/named/primary.nzf" file containing all the catalog zone members (along with any zones from addzone if appropriate)? For the record I'll also include "named-checkconf -p" ("Master" is "harrier"): acl "shibboleet" { 98.158.78.58/32; }; acl "harrier" { 207.223.116.211/32; }; acl "sbo" { "harrier"; "shibboleet"; }; acl "spikenet" { 208.94.237.144/28; }; acl "trusted" { "localhost"; "sbo"; "spikenet"; }; acl "recursion" { "trusted"; }; acl "transfer" { "trusted"; }; logging { channel "default_log" { file "logs/named.log" versions unlimited size 4194304; severity dynamic; print-time yes; print-severity yes; print-category yes; }; channel "query_log" { file "logs/query.log" versions 10 size 2097152; severity dynamic; print-time yes; }; category "default" { "default_log"; }; category "queries" { "query_log"; }; }; masters "shibboleet" { 98.158.78.58; }; masters "harrier" { 207.223.116.211; }; masters "sbo" { "harrier"; }; options { directory "/var/named"; querylog no; allow-recursion { "recursion"; }; catalog-zones { zone "catalog.example" default-masters { "sbo"; } zone-directory "catzones" in-memory no min-update-interval 10; }; dnssec-validation auto; rate-limit { exempt-clients { "trusted"; }; log-only no; responses-per-second 9; }; allow-transfer { "transfer"; }; zone-statistics yes; }; view "primary" { zone "catalog.example" { type slave; masters { "sbo"; }; allow-query { "trusted"; }; }; };
CC:
Subject: Re: [ISC-Bugs #45310] BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
Date: Thu, 1 Jun 2017 19:42:37 +0000
To: "Chuck Aurora via RT" <bind9-bugs@isc.org>
From: "Evan Hunt" <each@isc.org>
On Thu, Jun 01, 2017 at 03:52:49PM +0000, Chuck Aurora via RT wrote: > Oh, this one has merit, I think we are on to something. Apparently > liblmdb is not a firm BIND build requirement, but without it, do we > save our NZD at all? That is, is there an alternative to LMDB, which > has not [yet] been made a part of Slackware? > > Was the need for LMDB documented somewhere? If you don't have LMDB, then everything still works; it just uses flat text files (*.nzf) to save newly-added zone configuration instead of using an LMDB database (*.nzd). LMDB gives you better performance than flat files, particularly on delete operations, but in terms of functionality it shouldn't make any difference. There were several bugs in the LMDB/NZD code though, which are being fixed in 9.11.2. I don't recommend using LMDB until then. In any case this turns out to be a moot point as a) you don't have LMDB installed and b) it turns out catalog zones don't directly use NZF files anyway. I was a bit confused about this when we discussed it in the support meeting yesterday: catalog zones use the same configuration parsing context as NZF files so they can configure new zones at runtime, but they don't actually save zone configuration in the NZF files. The configuration lives in the catalog zones themselves.
Subject: Re: [ISC-Bugs #45310] BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
Date: Fri, 2 Jun 2017 06:12:30 -0500
To: "Evan Hunt via RT" <bind9-bugs@isc.org>
From: "Chuck Aurora" <ca-isc@nodns4.us>
On Thu, Jun 01, 2017 at 07:42:38PM +0000, Evan Hunt via RT wrote: > On Thu, Jun 01, 2017 at 03:52:49PM +0000, Chuck Aurora via RT wrote: > > Oh, this one has merit, I think we are on to something. > > Apparently liblmdb is not a firm BIND build requirement, but > > without it, do we save our NZD at all? That is, is there an > > alternative to LMDB, which has not [yet] been made a part of > > Slackware? > > > > Was the need for LMDB documented somewhere? > > If you don't have LMDB, then everything still works; it just uses > flat text files (*.nzf) to save newly-added zone configuration > instead of using an LMDB database (*.nzd). LMDB gives you better > performance than flat files, particularly on delete operations, but > in terms of functionality it shouldn't make any difference. > > There were several bugs in the LMDB/NZD code though, which are > being fixed in 9.11.2. I don't recommend using LMDB until then. Fair enough. These servers are small potatoes anyway and won't be changing much when configuration is finished, so we don't need the slight performance boost. But I'll pass the suggestion for liblmdb downstream to Slackware. He'll probably release this year with whatever 9.11 is current at that time. > In any case this turns out to be a moot point as a) you don't have > LMDB installed and b) it turns out catalog zones don't directly use > NZF files anyway. I was a bit confused about this when we discussed > it in the support meeting yesterday: catalog zones use the same > configuration parsing context as NZF files so they can configure > new zones at runtime, but they don't actually save zone > configuration in the NZF files. The configuration lives in the > catalog zones themselves. Okay, but the catalog zone is not being reread at time of reload or reconfig, so this is a problem. Would that be the fix, to reread the catalog zone[s]? When I added the second batch to the catalog, I was not yet aware that the first batch had been removed from service. The nsupdate went smoothly, and the NEW zones were added and served, but prior zones were not. I'll be glad to test a patch if/when you have one. Thanks.
Subject: Re: [ISC-Bugs #45310] BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
Date: Fri, 16 Jun 2017 19:20:55 -0500
To: bind9-bugs@isc.org
From: "Chuck Aurora" <ca-isc@nodns4.us>
I wrote: > Okay, but the catalog zone is not being reread at time of reload > or reconfig, so this is a problem. Would that be the fix, to > reread the catalog zone[s]? We had to reboot one of the slave VMs, and lo and behold, this worked. The catalog zone was reread, all slave zones configured. Seems like the only non-working cases are reload and reconfig; stopping and starting is safe. I tested that again just now. Here are logs of the restart, followed by axfr of the catalog zone and the slave server's configuration. What's possibly interesting are the repetitions of one particular "adding zone" line and the omission of all the other "adding zone" lines. This happens each time, but not necessarily the same zone. Logs from logfile: 16-Jun-2017 18:31:30.147 general: info: received control channel command 'stop' 16-Jun-2017 18:31:30.147 general: info: shutting down: flushing changes 16-Jun-2017 18:31:30.147 general: notice: stopping command channel on 127.0.0.1#953 16-Jun-2017 18:31:30.147 network: info: no longer listening on 127.0.0.1#53 16-Jun-2017 18:31:30.147 network: info: no longer listening on 208.94.237.158#53 16-Jun-2017 18:31:30.153 general: notice: exiting ( ** named is starting, see syslog logging below ** ) 16-Jun-2017 18:31:31.208 general: info: managed-keys-zone/primary: journal file is out of date: removing journal file 16-Jun-2017 18:31:31.208 general: info: managed-keys-zone/primary: loaded serial 33 16-Jun-2017 18:31:31.218 general: notice: all zones loaded 16-Jun-2017 18:31:31.220 general: notice: running 16-Jun-2017 18:31:31.243 general: info: zone catalog.example/IN/primary: Transfer started. 16-Jun-2017 18:31:31.265 xfer-in: info: transfer of 'catalog.example/IN/primary' from 207.223.116.211#53: connected using 208.94.237.158#51895 16-Jun-2017 18:31:31.288 general: info: zone catalog.example/IN/primary: transferred serial 2017052409 16-Jun-2017 18:31:31.288 xfer-in: info: transfer of 'catalog.example/IN/primary' from 207.223.116.211#53: Transfer status: success 16-Jun-2017 18:31:31.288 xfer-in: info: transfer of 'catalog.example/IN/primary' from 207.223.116.211#53: Transfer completed: 1 messages, 22 records, 1237 bytes, 0.022 secs (56227 bytes/sec) 16-Jun-2017 18:31:31.288 general: info: catz: updating catalog zone 'catalog.example' with serial 2017052409 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.289 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.290 general: info: catz: adding zone 'slackpkg.org' from catalog 'catalog.example' - success 16-Jun-2017 18:31:31.290 notify: info: zone catalog.example/IN/primary: sending notifies (serial 2017052409) 16-Jun-2017 18:31:31.291 general: info: zone 57.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.291 general: info: zone rlworkman.net/IN/primary: loaded serial 2017052504 16-Jun-2017 18:31:31.292 general: info: zone slackbuilds.org/IN/primary: loaded serial 2017052502 16-Jun-2017 18:31:31.292 general: info: zone stormtracklinux.com/IN/primary: loaded serial 2013040531 16-Jun-2017 18:31:31.292 general: info: zone 58.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.294 notify: info: zone 57.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.294 notify: info: zone rlworkman.net/IN/primary: sending notifies (serial 2017052504) 16-Jun-2017 18:31:31.294 notify: info: zone stormtracklinux.com/IN/primary: sending notifies (serial 2013040531) 16-Jun-2017 18:31:31.294 notify: info: zone slackbuilds.org/IN/primary: sending notifies (serial 2017052502) 16-Jun-2017 18:31:31.294 notify: info: zone 58.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.295 general: info: zone 61.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.295 general: info: zone 63.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.295 general: info: zone walk-on.us/IN/primary: loaded serial 2017052401 16-Jun-2017 18:31:31.296 general: info: zone 60.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.296 general: info: zone 62.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.302 notify: info: zone 61.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.302 notify: info: zone 62.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.302 notify: info: zone 63.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.302 notify: info: zone walk-on.us/IN/primary: sending notifies (serial 2017052401) 16-Jun-2017 18:31:31.302 notify: info: zone 60.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.302 general: info: zone room101.us.eu.org/IN/primary: loaded serial 2017052501 16-Jun-2017 18:31:31.303 general: info: zone 59.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.303 general: info: zone 56.78.158.98.in-addr.arpa/IN/primary: loaded serial 2016012301 16-Jun-2017 18:31:31.303 general: info: zone tuxaloosa.org/IN/primary: loaded serial 2017052501 16-Jun-2017 18:31:31.304 general: info: zone slackbook.org/IN/primary: loaded serial 2016020601 16-Jun-2017 18:31:31.304 notify: info: zone room101.us.eu.org/IN/primary: sending notifies (serial 2017052501) 16-Jun-2017 18:31:31.304 notify: info: zone tuxaloosa.org/IN/primary: sending notifies (serial 2017052501) 16-Jun-2017 18:31:31.304 notify: info: zone 59.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.304 notify: info: zone 56.78.158.98.in-addr.arpa/IN/primary: sending notifies (serial 2016012301) 16-Jun-2017 18:31:31.304 notify: info: zone slackbook.org/IN/primary: sending notifies (serial 2016020601) 16-Jun-2017 18:31:31.304 general: info: zone slackpkg.org/IN/primary: loaded serial 2017052501 16-Jun-2017 18:31:31.304 notify: info: zone slackpkg.org/IN/primary: sending notifies (serial 2017052501) Syslog when starting: Jun 16 18:31:31 dance named[12673]: starting BIND 9.11.1 <id:e3dc2e7> Jun 16 18:31:31 dance named[12673]: running on Linux x86_64 4.4.72 #6 SMP Thu Jun 15 10:27:32 CDT 2017 Jun 16 18:31:31 dance named[12673]: built with '--prefix=/usr' '--libdir=/usr/lib64' '--sysconfdir=/etc' '--localstatedir=/var' '--with-libtool' '--with-idn=/usr' '--mandir=/usr/man' '--enable-shared' '--disable-static' '--enable-threads' '--with-openssl=/usr' '--build=x86_64-slackware-linux' 'build_alias=x86_64-slackware-linux' 'CFLAGS=-O2 -fPIC' Jun 16 18:31:31 dance named[12673]: running as: named -4 Jun 16 18:31:31 dance named[12673]: ---------------------------------------------------- Jun 16 18:31:31 dance named[12673]: BIND 9 is maintained by Internet Systems Consortium, Jun 16 18:31:31 dance named[12673]: Inc. (ISC), a non-profit 501(c)(3) public-benefit Jun 16 18:31:31 dance named[12673]: corporation. Support and training for BIND 9 are Jun 16 18:31:31 dance named[12673]: available at https://www.isc.org/support Jun 16 18:31:31 dance named[12673]: ---------------------------------------------------- Jun 16 18:31:31 dance named[12673]: adjusted limit on open files from 4096 to 1048576 Jun 16 18:31:31 dance named[12673]: found 1 CPU, using 1 worker thread Jun 16 18:31:31 dance named[12673]: using 1 UDP listener per interface Jun 16 18:31:31 dance named[12673]: using up to 4096 sockets Jun 16 18:31:31 dance named[12673]: loading configuration from '/etc/named.conf' Jun 16 18:31:31 dance named[12673]: reading built-in trusted keys from file '/etc/bind.keys' Jun 16 18:31:31 dance named[12673]: using default UDP/IPv4 port range: [32768, 60999] Jun 16 18:31:31 dance named[12673]: listening on IPv4 interface lo, 127.0.0.1#53 Jun 16 18:31:31 dance named[12673]: listening on IPv4 interface eth0, 208.94.237.158#53 Jun 16 18:31:31 dance named[12673]: generating session key for dynamic DNS Jun 16 18:31:31 dance named[12673]: sizing zone task pool based on 1 zones Jun 16 18:31:31 dance named[12673]: none:103: 'max-cache-size 90%' - setting to 1789MB (out of 1987MB) Jun 16 18:31:31 dance named[12673]: obtaining root key for view primary from '/etc/bind.keys' Jun 16 18:31:31 dance named[12673]: set up managed keys zone for view primary, file 'primary.mkeys' Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 10.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 16.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 17.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 18.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 19.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 20.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 21.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 22.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 23.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 24.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 25.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 26.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 27.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 28.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 29.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 30.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 31.172.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 168.192.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 64.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 65.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 66.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 67.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 68.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 69.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 70.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 71.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 72.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 73.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 74.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 75.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 76.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 77.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 78.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 79.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 80.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 81.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 82.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 83.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 84.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 85.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 86.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 87.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 88.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 89.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 90.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 91.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 92.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 93.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 94.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 95.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 96.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 97.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 98.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 99.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 100.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 101.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 102.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 103.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 104.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 105.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 106.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 107.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 108.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 109.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 110.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 111.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 112.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 113.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 114.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 115.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 116.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 117.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 118.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 119.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 120.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 121.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 122.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 123.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 124.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 125.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 126.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 127.100.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 0.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 127.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 254.169.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 2.0.192.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 100.51.198.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 113.0.203.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 255.255.255.255.IN-ADDR.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: D.F.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 8.E.F.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 9.E.F.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: A.E.F.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: B.E.F.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: 8.B.D.0.1.0.0.2.IP6.ARPA Jun 16 18:31:31 dance named[12673]: automatic empty zone: view primary: EMPTY.AS112.ARPA Jun 16 18:31:31 dance named[12673]: none:103: 'max-cache-size 90%' - setting to 1789MB (out of 1987MB) Jun 16 18:31:31 dance named[12673]: configuring command channel from '/etc/rndc.key' Jun 16 18:31:31 dance named[12673]: command channel listening on 127.0.0.1#953 and one line of "warn" or higher priority: Jun 16 18:31:31 dance named[12673]: open: primary.nzf: file not found rob0@harrier:~$ dig catalog.example. axfr ; <<>> DiG 9.10.3-P3cba <<>> catalog.example. axfr ;; global options: +cmd catalog.example. 604800 IN SOA harrier.slackbuilds.org. hostmaster.slackbuilds.org. 2017052409 86400 43200 1209600 172800 catalog.example. 604800 IN NS dance.slackbuilds.org. catalog.example. 604800 IN NS harrier.slackbuilds.org. catalog.example. 604800 IN NS shibboleet.slackbuilds.org. version.catalog.example. 604800 IN TXT "1" 04e120b0cce1ebb819aaa5cdb153aafe7be11fe8.zones.catalog.example. 604800 IN PTR 60.78.158.98.in-addr.arpa. 103414eb2f69c737092d72ad18b7ddb9df7105a1.zones.catalog.example. 604800 IN PTR slackpkg.org. 1d17c2ed4c2bea11c151b0d85e66a406bf2e74f4.zones.catalog.example. 604800 IN PTR slackbook.org. 1d8b6b34c75a98b48a114327b6d0264e879aaf38.zones.catalog.example. 604800 IN PTR tuxaloosa.org. 2695d624609f68052743f2218a26a489540bddc2.zones.catalog.example. 604800 IN PTR slackbuilds.org. 3d4cbe64a815b0b1c0426f34ef8af792a66663ca.zones.catalog.example. 604800 IN PTR walk-on.us. 4ed356c739505b5a0ddebb98f02972f20e6ad953.zones.catalog.example. 604800 IN PTR 61.78.158.98.in-addr.arpa. 4f407230536043b0abd2c76e87c85b714b7f961f.zones.catalog.example. 604800 IN PTR rlworkman.net. 5053244cf1ba2340faf10290e2ca7532b7f79e9d.zones.catalog.example. 604800 IN PTR room101.us.eu.org. 5e92f43ab4e4841635f98c72acc9d340b5d7d3b7.zones.catalog.example. 604800 IN PTR 57.78.158.98.in-addr.arpa. 7227c546f57571b9a528370b395a04b2144017cb.zones.catalog.example. 604800 IN PTR stormtracklinux.com. 72615c126cb611e3094c9bdc8cd9086305f1c501.zones.catalog.example. 604800 IN PTR 58.78.158.98.in-addr.arpa. 739ecf8b4d268b8af9eda95dd235f4b1e996c31f.zones.catalog.example. 604800 IN PTR 62.78.158.98.in-addr.arpa. c7c2f752ed67279307c45599634fb2e5d544995d.zones.catalog.example. 604800 IN PTR 56.78.158.98.in-addr.arpa. d6b70a454041152af3bee185633b26c396985a6a.zones.catalog.example. 604800 IN PTR 63.78.158.98.in-addr.arpa. f0de634f270b470a1cb845d51376076a7c687c40.zones.catalog.example. 604800 IN PTR 59.78.158.98.in-addr.arpa. catalog.example. 604800 IN SOA harrier.slackbuilds.org. hostmaster.slackbuilds.org. 2017052409 86400 43200 1209600 172800 ;; Query time: 18 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Sat Jun 17 00:04:05 UTC 2017 ;; XFR size: 22 records (messages 1, bytes 1248) For the record, this is the config on the slave: rob0@dance:~$ /usr/sbin/named-checkconf -p acl "shibboleet" { 98.158.78.58/32; }; acl "harrier" { 207.223.116.211/32; }; acl "sbo" { "harrier"; "shibboleet"; }; acl "spikenet" { 208.94.237.144/28; }; acl "trusted" { "localhost"; "sbo"; "spikenet"; }; acl "recursion" { "trusted"; }; acl "transfer" { "trusted"; }; logging { channel "default_log" { file "logs/named.log" versions unlimited size 4194304; severity dynamic; print-time yes; print-severity yes; print-category yes; }; channel "query_log" { file "logs/query.log" versions 10 size 2097152; severity dynamic; print-time yes; }; category "default" { "default_log"; }; category "queries" { "query_log"; }; }; masters "shibboleet" { 98.158.78.58; }; masters "harrier" { 207.223.116.211; }; masters "sbo" { "harrier"; }; options { directory "/var/named"; querylog no; allow-recursion { "recursion"; }; catalog-zones { zone "catalog.example" default-masters { "sbo"; } zone-directory "catzones" in-memory no min-update-interval 10; }; dnssec-validation auto; rate-limit { exempt-clients { "trusted"; }; log-only no; responses-per-second 9; }; allow-transfer { "transfer"; }; zone-statistics yes; }; view "primary" { zone "catalog.example" { type slave; masters { "sbo"; }; allow-query { "trusted"; }; }; };
On Fri Jul 07 03:28:51 2017, michal wrote: > I managed to reproduce this. I do not think there are any extraordinary > prerequisites for triggering this bug: AFAICT, all it takes is to run > "rndc reconfig" on a server that slaves a catalog zone. > > The problem is caused by a bug in catz code: when named is reconfigured, > configure_catz_zone() calls dns_catz_add_zone(), which should return > ISC_R_EXISTS if the catalog zone in question already existed before; > instead, dns_catz_add_zone() returns ISC_R_SUCCESS in such case (due to > the result variable being inadvertently overwritten after it is set to > ISC_R_EXISTS), which causes configure_catz_zone() to skip attaching > member zones present in the catalog zone to the reconfigured view, > ultimately causing them to be removed from configuration. I was unable > to come up with any reasonable configuration-level workaround. > > This bug seems to have been present in the code ever since catalog zones > were initially implemented in 7a00d69909. In fact, the catz system test > in its current form is causing this bug to be triggered, it is just not > aware of it. > > Furthermore, the relevant code branch in configure_catz_zone() contains > a reference counting bug which will prevent a slave using catalog zones > from being properly shut down after it is reconfigured. > > All the above issues are addressed in branch rt45310, please review. Looks fine.
Date: Sun, 9 Jul 2017 07:17:00 -0500
From: "Chuck Aurora" <ca-isc@nodns4.us>
Subject: Re: [ISC-Bugs #45310] BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves
To: "Mark Andrews via RT" <bind9-confidential@isc.org>
On Sun, Jul 09, 2017 at 05:28:54AM +0000, Mark Andrews via RT wrote: > On Fri Jul 07 03:28:51 2017, michal wrote: Michal? We haven't met; pleased to "meet" you. Oh, and BTW, I did not get that message from RT on Thu/Fri. I recently enabled DANE on my email, just wondered if that could explain why I didn't get it? > > I managed to reproduce this. I do not think there are any > > extraordinary prerequisites for triggering this bug: AFAICT, all > > it takes is to run "rndc reconfig" on a server that slaves a > > catalog zone. Yep, that's the way it seemed here. > > The problem is caused by a bug in catz code: when named is > > reconfigured, configure_catz_zone() calls dns_catz_add_zone(), > > which should return ISC_R_EXISTS if the catalog zone in question > > already existed before; instead, dns_catz_add_zone() returns > > ISC_R_SUCCESS in such case (due to the result variable being > > inadvertently overwritten after it is set to ISC_R_EXISTS), which > > causes configure_catz_zone() to skip attaching member zones > > present in the catalog zone to the reconfigured view, ultimately > > causing them to be removed from configuration. I was unable to > > come up with any reasonable configuration-level workaround. My only workaround is runtime, to stop and start named rather than reconfig or reload. > > This bug seems to have been present in the code ever since > > catalog zones were initially implemented in 7a00d69909. In fact, > > the catz system test in its current form is causing this bug to > > be triggered, it is just not aware of it. > > > > Furthermore, the relevant code branch in configure_catz_zone() > > contains a reference counting bug which will prevent a slave > > using catalog zones from being properly shut down after it is > > reconfigured. > > > > All the above issues are addressed in branch rt45310, please > > review. Sounds great, thank you! > Looks fine. I have been poking around at the git repo online, but did not find how to get the rt45310 branch. Is it not yet in the public repo? Mark or Michal or someone, can I get a patch to try? Thanks again. -- Chuck
4648. [bug] "rndc reconfig" on a slave no longer causes all member zones of configured catalog zones to be removed from configuration. [RT #45310]
From: "Chuck Aurora" <ca-isc@nodns4.us>
To: "Mark Andrews via RT" <bind9-confidential@isc.org>
Subject: Re: BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves [ISC-Bugs #45310]
Date: Mon, 10 Jul 2017 17:18:50 -0500
On Sun, Jul 09, 2017 at 11:09:40PM +0000, Mark Andrews via RT wrote: > 4648. [bug] "rndc reconfig" on a slave no longer causes all member > zones of configured catalog zones to be removed from > configuration. [RT #45310] Tested and seems to be fixed. "rndc reconfig" does not remove all member zones. Same with "rndc reload". The minor logging issue, that when reading a catalog zone, I get multiple lines of adding one zone (which varies from time to time) still exists, but that's only cosmetic. 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'catalog.example' - success I get 17 of those "catz: adding zone" lines, always the same zone each time named starts, but it varies which zone is chosen for the honor. Coincidentally the catalog zone has 17 member zones. It looks like some variable is getting set once and not reset for the other member zones. Oh, and I don't see any reason to leave this one as "confidential", if you want to move it to the newly-opened bug database. Thanks again, Mark and Michał. :) -- Chuck
From: "Mark Andrews" <marka@isc.org>
To: bind9-confidential@isc.org
Date: Tue, 11 Jul 2017 08:43:31 +1000
Subject: Re: BIND 9.11.1 - rndc reconfig wipes out catalog zone slaves [ISC-Bugs #45310]
In message <rt-4.4.1-61947-1499725142-1896.45310-4-0@isc.org>, "Chuck Aurora via RT" writes: > On Sun, Jul 09, 2017 at 11:09:40PM +0000, Mark Andrews via RT wrote: > > 4648. [bug] "rndc reconfig" on a slave no longer causes all member > > zones of configured catalog zones to be removed from > > configuration. [RT #45310] > > Tested and seems to be fixed. "rndc reconfig" does not remove all > member zones. Same with "rndc reload". > > The minor logging issue, that when reading a catalog zone, I get > multiple lines of adding one zone (which varies from time to time) > still exists, but that's only cosmetic. 4649. [bug] The wrong zone was logged when a catalog zone is added. [RT #45520] > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > 10-Jul-2017 21:21:35.702 general: info: catz: adding zone '60.78.158.98.in-addr.arpa' from catalog 'ca > talog.example' - success > > I get 17 of those "catz: adding zone" lines, always the same zone > each time named starts, but it varies which zone is chosen for the > honor. > > Coincidentally the catalog zone has 17 member zones. It looks like > some variable is getting set once and not reset for the other member > zones. > > Oh, and I don't see any reason to leave this one as "confidential", > if you want to move it to the newly-opened bug database. > > Thanks again, Mark and Michał. :) > -- > Chuck > > > > -- > Ticket History: https://bugs.isc.org/Ticket/Display.html?id=45310 -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org