strange behaviour with local_unbound

Dhananjay Balan mail at dbalan.in
Mon Jan 7 21:25:46 UTC 2019


I have a strange problem with local_unbound. This is probably not a
bug, atleast on freebsd part. If somebody knows whats happening I am
all ears. This is on 13-CURRENT.

The problem is www.freebsd.org wouldn't resolve while local_unbound is
forwarding to a large set of DNS servers that I get from dhcp (mostly
wlan routers while travelling).

For e.g
drill www.freebsd.org @127.0.0.1     
;; ->>HEADER<<- opcode: QUERY, rcode: SERVFAIL, id: 5479
;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; www.freebsd.org.	IN	A

;; ANSWER SECTION:

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 481 msec
;; SERVER: 127.0.0.1
;; WHEN: Mon Jan  7 16:10:21 2019
;; MSG SIZE  rcvd: 33

However forwarding to 1.1.1.1 (in /etc/unbound/forward.conf) would fix
this (or so would just using a standard DNS server without unbound)

;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 38827
;; flags: qr rd ra ; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0 
;; QUESTION SECTION:
;; www.freebsd.org.	IN	A

;; ANSWER SECTION:
www.freebsd.org.	60	IN	CNAME	wfe0.nyi.freebsd.org.
wfe0.nyi.freebsd.org.	3053	IN	A	96.47.72.84

;; AUTHORITY SECTION:

;; ADDITIONAL SECTION:

;; Query time: 316 msec
;; SERVER: 127.0.0.1
;; WHEN: Mon Jan  7 16:12:40 2019
;; MSG SIZE  rcvd: 72

Cheers,
dbalan


More information about the freebsd-questions mailing list