Open saloniamatteo opened 2 hours ago
I would also like to point out that this is a unique behavior I have never seen in my life -- I have other services listening on localhost, and they work fine!
P.S. Yes, I do have a firewall. No, it does not have weird rules that prevent localhost from talking to itself. Yes, I have checked.
Describe the bug Greetings, Unbound answers
SERVFAIL
to ALL queries from localhost (127.0.0.1
,::1
,192.168.1.88
).No matter which settings I modify (including
interfaces:
), only queries to my external IP actually contain an answer...(For context, what I really need is for port 8080 (HTTPS) to be available ONLY for localhost, however, that seems to not be the case...)
To reproduce Relevant
/etc/unbound/unbound.conf
:Run
dig @localhost example.com
(or any other internal IP address)See the following:
Expected behavior Running
dig @localhost example.com
should return valid results, just like howdig @(external IP) example.com
does already:System:
unbound -V
output:Additional information (
dig @localhost example.com
, SERVFAIL)tcpdump -i lo -n port 53 -vvv
:(
dig @(external IP) example.com
, success)tcpdump -i eth0 -n port 53 -vvv
: