Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Unbound and DoT strange interaction
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unbound and DoT strange interaction (Read 621 times)
beachfork
Newbie
Posts: 4
Karma: 0
Unbound and DoT strange interaction
«
on:
January 10, 2023, 03:24:08 pm »
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!
Logged
beachfork
Newbie
Posts: 4
Karma: 0
Re: Unbound and DoT strange interaction
«
Reply #1 on:
January 10, 2023, 03:52:15 pm »
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:
Code:
[Select]
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Unbound and DoT strange interaction