Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
Unbound shouldn't be blocking traffic from api.met.no
Actual Behaviour:
I'm running Pi-Hole on a Raspberry Pi Zero 2W and it's running absolutely fine for the most part, but I can't get the weather in my Home Assistant to show up and tracing the problem, it's because Unbound is blocking the API call as BOGUS
If a browser is on your network and you want Pi-hole to block ads for all network clients, the browser should also be using Pi-hole for DNS resolution. Pi-hole, in turn, uses unbound.
Sorry, that's just too much for me. The browser works properly and is blocking everything Pi-Hole tells it too. It's just when it comes to api.met.no there's an anomaly. I feel like we're going in the right direction with this algorithm 10 stuff. Can you explain it like I'm 5 how to whitelist algorithm 10? The link to the docs is going right over my head and I feel like I'm likely to create more issues than solve them if I try and blindly fumble around in them.
So it fails on retrieving the A record already, i.e. before DNSSEC validation.
Also note that we have queried your unbound at 127.0.0.1#5335 directly, confirming this as an unbound issue rather than a Pi-hole one.
Please check and share your unbound configuration:
Sorry, I'm an actual idiot sandwich, so not only did I not get a notification because I never turned them on. I also don't know how to quote properly either.
unbound-checkconf: no errors in /etc/unbound/unbound.conf
This is unrelated to the issue you are having with your specific instance of unbound.
Unbound isn't blocking the domain, and neither is Pi-hole. Unbound is unable to authenticate the DNSSEC signature of the domain, and thus returns BOGUS.
The domain has a valid DNSSEC signature (as evidenced by the fact that others can resolve the domain using unbound). That leave us to figure out why your local instance of unbound cannot resolve it.
There are additional tools available, but will require some study of the various outputs.
You can raise the verbosity of your unbound install to 5, query unbound directly for resolution of the domain, and then compare your log output to the output of a separate install of unbound that is able to resolve the domain. This online tool uses unbound and will show you the details of the log for that domain:
By troubleshooting, I mean you have run all your test commands, have the output you want to review, and are ready to return unbound back to its prior configuration.
Tried again with the correct command. Told you I'm an idiot!
dig api.met.no @127.0.0.1 -p 5335 ;; communications error to 127.0.0.1#5335: timed out
;; communications error to 127.0.0.1#5335: timed out ;; communications error to 127.0.0.1#5335: timed out
; <<>> DiG 9.18.28-1~deb12u2-Debian <<>> api.met.no @127.0.0.1 -p 5335
;; global options: +cmd ;; no servers could be reached