DNS breaks after installing pfBlockerNG?
-
Also, if you have Services Watchdog package installed, make sure you did NOT add Unbound to it. (That causes race conditions and wreaks complete havoc on DNS when pfBNG updates the DNSBLs.)
-
Might just be that unbound take a long time to start (mine take up to 3 minutes)
When it boots unbound starts more than once, so while one instance is starting, a restart/reload happens and it can not bind to the port of the previous unfinished unbound. -
Also, if you have Services Watchdog package installed, make sure you did NOT add Unbound to it. (That causes race conditions and wreaks complete havoc on DNS when pfBNG updates the DNSBLs.)
No, I don't have Watchdog package installed.
-
Just wondering, Whats the difference between manually restart Unbound vs. Auto restart Unbound by pfSense? I'm really confused since the start process should be the same, manually restart works but auto restart doesn't work.
-
note my thread in the pfsense 2.4 forum, my unbound doesnt start on boot if I do not select the default ALL interfaces, when specific interfaces are chosen the bootup script gets all confused and breaks, although I can always start it fine from the gui.
So if you got specific network interfaces selected. change it to ALL to see if it fixes the boot problem.
-
I haven't had a chance to dig thru the Unbound/pfSense code to figure out this issue… but there definitely is an issue when utilizing DHCP... Hopefully one of the pfSense devs get a chance to improve that part of the code. I am unable to replicate in my environment as I am static...
-
Ah that's interesting. Do you know how that applies if you are using DHCP, as I am?
Like, DHCP WAN?
Steve
-
I have dhcp wan for ipv4 and ipv6.
On my setup there seems to be no ipv4 renewals been logged and as such no affect on unbound, but the dhcp wan ipv6 renews twice an hour and will restart unbound, I fixed it by manually patching the services.inc file to stop the configure_unbound function from restarting unbound.
Pfblockerng doesnt use that function so it can still restart unbound when it does its dnsbl updates.
-
I have dhcp wan for ipv4 and ipv6.
On my setup there seems to be no ipv4 renewals been logged and as such no affect on unbound, but the dhcp wan ipv6 renews twice an hour and will restart unbound, I fixed it by manually patching the services.inc file to stop the configure_unbound function from restarting unbound.
Pfblockerng doesnt use that function so it can still restart unbound when it does its dnsbl updates.
May I know what/how you fixed in services.inc?
-
sure
I used SECOIT GmbH's solution (crediting the original guy).
His post is here.
https://forum.pfsense.org/index.php?topic=89589.msg517047#msg517047
Be aware with this solution, if you do an action that requires a unbound restart/configure, you will manually need to stop and then start in the gui. pfblockerng will still be fine tho.