Some strange glitch with unbound and pfbl_dnsbl.conf
-
Everything was fine until today I've got no internet, because unbound has been stopped, tried to start it and got
/status_services.php: The command '/usr/local/sbin/unbound -c /var/unbound/unbound.conf' returned exit code '1', the output was '/var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'locam-zone' /var/unbound/pfb_dnsbl.conf:467365: error: stray ':' /var/unbound/pfb_dnsbl.conf:467365: error: stray '"' /var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'support-line.com' /var/unbound/pfb_dnsbl.conf:467365: error: stray '"' /var/unbound/pfb_dnsbl.conf:467365: error: unknown keyword 'redirect' read /var/unbound/unbound.conf failed: 6 errors in configuration file [1655057603] unbound[49385:0] fatal error: Could not read config file: /var/unbound/unbound.conf. Maybe try unbound -dd, it stays on the commandline to see more errors, or unbound-checkconf'
Looked at /var/unbound pfb_dnsbl.conf and found this line
locam-zone: "support-line.com" redirect local-data: "support-line.com 60 IN A 10.10.10.1" local-data: "support-line.com 60 IN AAAA ::10.10.10.1"
This looks like a typo, but I am not sure.
Deleted it and unbound started. Any throughout why this had been happened?22.05-RC (amd64)
built on Thu Jun 09 19:38:54 UTC 2022
FreeBSD 12.3-STABLE
pfBlockerNG-devel net 3.1.0_4 -
@w0w
Looks like the Geek has been hackedI'm just kidding , but I can't find "pfbl_dnsbl.conf" file in my /var/unbound/
Is this a file that got automatically generated if unbound crashed? -
@w0w Seems a typo for “local”. IIRC 10.10.10.1 is the dummy IP for pfBlocker’s DNSBL. Did you manually block that domain maybe? Or add a custom setting to pfB?
-
@moonknight
Sorry, it's pfb_dnsbl.conf, not pfbl_dnsbl.conf, it's my typo
It is not generated when crashed, it's always present in /var/unbound -
@steveits
No, I have custom list, but I did not block that domain or IP. Anyway, I have never been modified pfBlockerNG settings other way then GUI.