-
Notifications
You must be signed in to change notification settings - Fork 921
Closed as not planned
Labels
help wantedContributor missing / timeoutContributor missing / timeout
Description
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
- I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue
Describe the bug
Adding a DNS entry named * (wildcard) on a domain with an existing host override 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:
- Go to 'Services', then 'Unbound DNS', then 'Overrides'
- Click on '+' button and add a new override
- Set host to "abc", domain to "opnsense.com", type A, IP address 127.0.0.1
- Save, then click Apply
- Unbound will be still running, validate running a
drill @routerip abc.opnsense.comto see that it returns an entry to 127.0.0.1 - Click on '+' button and add a new override
- Set Host to '*', domain to "opnsense.com", type A, IP address '127.0.0.1'
- Save, then click Apply
- See that Unbound will stop and won't start again unless you either remove that entry or all entries that are not wildcards for that domain 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedContributor missing / timeoutContributor missing / timeout