For decades, I'd run a primary name server in my network, and had the FreeBSD router in the middle of the networks act as a caching secondary for my local zones. Years ago, this was all with isc-bind, but since that's gone away from active use in the world, I switched my router to using local_unbound for my local networks a couple years ago when I upgraded it. My primary server is using nsd.
I had configured stub-zones on my router, but that wasn't doing what I wanted it to. I found that the primary was just getting rejects when it sent notifies for updates, and while trying to figure out how to reconfigure to get what I wanted and used to have, tried setting up the local domains as auth-zones. But, I can't quite get that working.
I was able to get the notify messages to not be rejected. Able to figure out where the zonefile needed to live. But, I am not able to figure out what magic is needed to:
1) If there is no local zonefile for the auth-zone, accept and write it when getting the notify from the primary.
2) If I manually put a zonefile in place from the primary into the local_unbound zonefile on the router for an auth-zone, it seems to serve that without knowing it is out of date.
The error I'm getting from local_unbound when it gets the notify seems to be able the SOA being wrong?
(Both addresses above are the same primary server, IPv4 and IPv6 addresses)
I'm not able to figure out what it means with "bad reply to soa probe". The zone is clearly working for nsd, and if I load an older copy of that zonefile into place on the router, local_unbound serves the old data from it.
Anyone have any ideas, or guidance to where to look for more detailed diagnostics?
I had configured stub-zones on my router, but that wasn't doing what I wanted it to. I found that the primary was just getting rejects when it sent notifies for updates, and while trying to figure out how to reconfigure to get what I wanted and used to have, tried setting up the local domains as auth-zones. But, I can't quite get that working.
I was able to get the notify messages to not be rejected. Able to figure out where the zonefile needed to live. But, I am not able to figure out what magic is needed to:
1) If there is no local zonefile for the auth-zone, accept and write it when getting the notify from the primary.
2) If I manually put a zonefile in place from the primary into the local_unbound zonefile on the router for an auth-zone, it seems to serve that without knowing it is out of date.
The error I'm getting from local_unbound when it gets the notify seems to be able the SOA being wrong?
Code:
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. probe: notify addrs updated
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. soa probe sent to 2600:XX:xx:XX:ab:cd:ef:99
[...]
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com.: bad reply to soa probe
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: close fd 58
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. probe: notify addrs updated
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. soa probe sent to AA.BB.CC.DD
[...]
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com.: bad reply to soa probe
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: close fd 58
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. probe: notify addrs updated
Mar 1 00:21:47 grouter local-unbound[3841]: [3841:0] debug: auth zone distal.com. soa probe failed, wait to retry
(Both addresses above are the same primary server, IPv4 and IPv6 addresses)
I'm not able to figure out what it means with "bad reply to soa probe". The zone is clearly working for nsd, and if I load an older copy of that zonefile into place on the router, local_unbound serves the old data from it.
Anyone have any ideas, or guidance to where to look for more detailed diagnostics?