Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbound not starting with custom option and Override Domain #137

Closed
ghost opened this issue Jan 24, 2019 · 3 comments
Closed

Unbound not starting with custom option and Override Domain #137

ghost opened this issue Jan 24, 2019 · 3 comments
Assignees

Comments

@ghost
Copy link

ghost commented Jan 24, 2019

Configured Unbound to forward, as per https://wiki.opnsense.org/manual/how-tos/bind.html

Unbound failed to start, with error:
opnsense: /services_unbound.php: The command '/usr/local/sbin/unbound -c '/var/unbound/unbound.conf'' returned exit code '1', the output was '/var/unbound/unbound.conf:106: error: syntax error read /var/unbound/unbound.conf failed

The offending line in config was: do-not-query-localhost: no

Identified that the cause was also having a Domain Override configured. Once the domain override was removed, Unbound started okay and forwarding worked as expected.

@fichtner
Copy link
Member

documentation issue, CC @mimugmail

@fichtner fichtner transferred this issue from opnsense/core Feb 11, 2019
@fichtner
Copy link
Member

@mimugmail what shall we do here?

@mimugmail
Copy link
Member

I have no idea why, but when using overrides the use of do-not-query-localhost: no is prohibited.
The only way is to also let BIND listen to the LAN IP with port 53530 and set the LAN IP in custom options of Unbound.

OK? Then I'll update the docs ..

@fichtner fichtner transferred this issue from opnsense/plugins Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants