[Bug 196138] New: Unbound fails with 2(SERVFAIL) when behind NAT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 19 17:47:39 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196138

            Bug ID: 196138
           Summary: Unbound fails with 2(SERVFAIL) when behind NAT
           Product: Base System
           Version: 10.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rsimmons0 at gmail.com

I have tried this two different ways, one with my home router's DNS
(192.168.1.1), local_unbound fails. I also tried to set the default DNS server
to 8.8.8.8 which I know I can connect to, but local_unbound fails there as
well. Here is the output for setup that I followed. This is a fresh 10.1
install with freebsd-update already run.

# host google.com
google.com has address 64.233.171.139
google.com has address 64.233.171.113
google.com has address 64.233.171.138
google.com has address 64.233.171.100
google.com has address 64.233.171.101
google.com has address 64.233.171.102
google.com has IPv6 address 2607:f8b0:400d:c04::71
google.com mail is handled by 50 alt4.aspmx.l.google.com.
google.com mail is handled by 20 alt1.aspmx.l.google.com.
google.com mail is handled by 10 aspmx.l.google.com.
google.com mail is handled by 30 alt2.aspmx.l.google.com.
google.com mail is handled by 40 alt3.aspmx.l.google.com.
# cat /etc/resolv.conf
# Generated by resolvconf
search home
nameserver 8.8.8.8
# service local_unbound status
local_unbound is running as pid 389.
# service local_unbound setup
Performing initial setup.
Extracting forwarders from /etc/resolv.conf.
original /var/unbound/forward.conf saved as
/var/unbound/forward.conf.20141219.174215
/var/unbound/lan-zones.conf not modified
/var/unbound/unbound.conf not modified
/etc/resolvconf.conf not modified
original /etc/resolv.conf saved as /etc/resolv.conf.20141219.174215
# cat /etc/resolv.conf
# Generated by resolvconf
search home
# nameserver 8.8.8.8
nameserver 127.0.0.1
options edns0
# host google.com
Host google.com not found: 2(SERVFAIL)
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=247 time=17.438 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=247 time=28.465 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 17.438/22.951/28.465/5.513 ms

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list