Hi!
I've posted this first on Reddit but I didn't get any replies and I've figured this would be a better place. I have Unbound configured to use DoT to relay DNS requests to a couple of VPSs I have running AdGuard Home. The requests are forwarded and filtered as expected.
The problem I'm facing is that the 1st DNS server I have configured, when I run drill or the DNS lookup via GUI, the answer from Unbound is 127.0.1.1, not the actual A record. Screenshots as follows:
Thanks in advance for any help/input!
A very nice person on Reddit pointed me to the actual fix!
It was a bad config on the VPS part, specifically the "/etc/hosts" file. I had to add the actual IPv4 and IPv6 entries and remove the entry with 127.0.1.1 localhost! Here's a working example:
127.0.0.1 localhost
$IPv4 example.com example
$IPv6 example.com example
Glad it's fixed, and it's nothing related to OPNsense or Unbound!