Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2019 16:25:35 -0500
From:      Dhananjay Balan <mail@dbalan.in>
To:        freebsd-questions@FreeBSD.org
Subject:   strange behaviour with local_unbound
Message-ID:  <20190107212535.3fd5comc653q2xmi@kazhap.dbalan.in>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190107212535.3fd5comc653q2xmi>