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 host overrides breaks when adding a wildcard entry #8051

Open
2 tasks done
kriansa opened this issue Nov 10, 2024 · 0 comments
Open
2 tasks done

Unbound host overrides breaks when adding a wildcard entry #8051

kriansa opened this issue Nov 10, 2024 · 0 comments

Comments

@kriansa
Copy link

kriansa commented Nov 10, 2024

Important notices

Before you add a new report, we ask you kindly to acknowledge the following:

Describe the bug

Adding a DNS entry named * (wildcard) will be allowed by UI but will break Unbound initialization, thus making it immediately offline after applying the change.

According to the manual, wildcards should be accepted as host names for host overrides.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'Services', then 'Unbound DNS', then 'Overrides'
  2. Click on '+' button and add a new override
  3. Set Host to '*', domain to anything (e.g. opnsense.com), type A, IP address '127.0.0.1'
  4. Save, then click Apply
  5. See that Unbound will stop and won't start again unless you remove that entry and apply again

Expected behavior

Unbound should stay up, and a subsequent drill xyz.opnsense.com should return an entry to '127.0.0.1'.

Environment

I don't think it's relevant.

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

1 participant