Thank you for the response. Just FYI, I have 2 OPNsense setups. One I am using - live - for my household. And one in a lab. I am seeing the behavior in both.I am waiting just a minute or so after Applying and then restarting Unbound. (update: I waited over an hour - just to see if it mattered - it did not).If I click on the 'add to whitelist' in the reporting, yes the domain shows up in the whitelist - list.I am using Linux Mint for testing - both 'dig' and 'nslookup'. I am also using a browser to open sites.I added a specific destination address in the Blocklist config, so I can definately tell when Unbound DNS is giving me a blocked response.If I disable DNSBL, or even untic one of the lists, it works as designed.Using nslookup, I noticed the whilelisted domain gets no response, versus the 10.10.10.10 I would expect to see.(broken whitelist)$ nslookup login.live.comServer: 127.0.0.53Address: 127.0.0.53#53Non-authoritative answer:*** Can't find login.live.com: No answer(non-blocked domain)$ nslookup live.comServer: 127.0.0.53Address: 127.0.0.53#53Non-authoritative answer:Name: live.comAddress: 204.79.197.212(normal blocked domain)$ nslookup penthouse.comServer: 127.0.0.53Address: 127.0.0.53#53Non-authoritative answer:Name: penthouse.comAddress: 10.10.10.10
I had modified Unbound to return the 10.10.10.10.
Ok, I (re)installed OPNsense from ISO on a new VM and it is having trouble resolving before any blocklists are enabled/disabled. Keep in mind this is a lab, which is behind another 'production' OPNsense.
It is plain vanilla, with the exception of bogon and private networks being allowed in the WAN config.
But if I login to the shell and run ....1) drill @1.1.1.1 penthouse.com ; it returns correctly. This leads me to believe I am getting thru the prod OPNsense w/o issue.2) drill @127.0.0.1 penthouse.com ' returns SERVFAIL. As does any domain name.
I am nearly positive this is somehow my lack of understanding. So thank you for your patience.
Yes, I am the admin of the prod instance as well. Using the built in GUI tools, I get valid responses for both google and penthouse. It defaults to the DNS I have configured on the device, 1.1.1.1
You're only getting a response from 1.1.1.1? Nothing from 127.0.0.1? Is 1.1.1.1 the only DNS you have configured?What happens if you put 127.0.0.1 in the Server box and repeat the lookups?
System -> Settings -> General -> Networking sectionJust the 1.1.1.1 - everything else is blank or unchecked.Services -> Unbound -> Query ForwardingNothingServices -> Unbound -> DNS over TLSNothing