opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.39k stars 757 forks source link

[17.1.6] unbound-checkconf returns errors #1616

Closed sjorge closed 7 years ago

sjorge commented 7 years ago

I ran unbound-checkconfig when messing around to get cname support.

But even with my changes not applied I get a warning.

root@exosphere:~ # unbound-checkconf
/var/unbound/unbound.conf:28: error: unknown keyword 'serve-expired'
/var/unbound/unbound.conf:28: error: stray ':'
/var/unbound/unbound.conf:28: error: unknown keyword 'no'
fichtner commented 7 years ago

don't do it ;)

https://forum.opnsense.org/index.php?topic=5039.msg20101#msg20101

sjorge commented 7 years ago

Is there an unbound-checkconf that gets shipped with the opnsense one?

sjorge commented 7 years ago

Found it!

fichtner commented 7 years ago

For reference:

# /usr/local/sbin/unbound-checkconf
fichtner commented 7 years ago

maybe we can remove unbound from the base system, but I'm not sure

sjorge commented 7 years ago

+1 on removing the system one