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/plugins/blob/master/CONTRIBUTING.md
[+] I have searched the existing issues and I'm convinced that mine is new.
[+] The title contains the plugin to which this issue belongs
Describe the bug
When the bug occurs all WireGuard peers connected to my OPNsense can no longer resolve DNS requests.
Please note that WireGuard peers can still access websites if I call them with their IP.
Restarting Unbound immediately solves the issue.
My LAN / VLAN clients are not affected by this.
To Reproduce
- Enable Unbound.
- Setup WireGuard Road Warrior with "AllowedIPs = 0.0.0.0/0" in remote peer config.
- Restart OPNsense or Reload WAN or Change name of any interface
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Unbound config.

Relevant log files
None available as I don't know which would be relevant.
Environment
OPNsense 21.1.4-amd64
FreeBSD 12.1-RELEASE-p15-HBSD
OpenSSL 1.1.1k 25 Mar 2021
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/plugins/blob/master/CONTRIBUTING.md
[+] I have searched the existing issues and I'm convinced that mine is new.
[+] The title contains the plugin to which this issue belongs
Describe the bug
When the bug occurs all WireGuard peers connected to my OPNsense can no longer resolve DNS requests.
Please note that WireGuard peers can still access websites if I call them with their IP.
Restarting Unbound immediately solves the issue.
My LAN / VLAN clients are not affected by this.
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Unbound config.
Relevant log files
None available as I don't know which would be relevant.
Environment
OPNsense 21.1.4-amd64
FreeBSD 12.1-RELEASE-p15-HBSD
OpenSSL 1.1.1k 25 Mar 2021