Hi,
I need some insights from @JoshData or @KiekerJan here.
I got stumped this weekend as to why, of all the servers I run, upgrading to the latest version of pfSense only broke MiaB’s DNS resolution. I saw evidence that the DHCP server gives the correct upstream DNS server to MiaB, but for some reason the named configuration (BIND9) ends up no knowing which DNS server it should recursively resolve against.
It’s my understanding that MiaB used NSD exclusively for for the zones it hosts and configures it not to resolve recursively, and BIND9 exclusively for recursive resolution of everything else. I also found the piece of setup script that overwrites /etc/resolv.conf with comments about deleting symlinks which I don’t fully understand the significance of.
I wish to determine exactly what about how the new version of pfSense handles DNS and DHCP is causing the problem whereby the moment MiaB connects via that the local (recursive) resolver in MiaB stops being able to resolve anything. Since pfSense is going through many changes itself supporting either ISC DHCP (to be deprecated soon) or Kea DHCP (not quite production ready yet) with a lot of noise in that community about features the Kea version has been lacking and the work done around that, it’s a bit of a minefield at the moment. It would be really useful if I could somehow get insight into how MiaB engages with DNS Servers to get its intended setup so taht I can better know where to look on the pfSense side for the magic bit to turn on or off to make it work. All the named.conf related stuff in MiaB looks fine to me, and works without a problem against older versions of pfSense, but somewhere there is a new default or assumption in play that isn’t compatible.
P.S. If I manually change resolv.conf to point the nameserver at my pfSense that runs as a resolver everything works as normal. it also works without any entry in resolv.conf or the file being absent, for then the nameserver provided by DHCP is used. It has the feel of a race condition triggered by nameserver set to 127.0.0.1 but I’ve not done tcpdumps to see what traffic actually flows since I needed the servers alive again, they’re not testing grounds.
Any help would be appreciated.