Unbound returns incorrect results

Jaap Akkerhuis jaap at NLnetLabs.nl
Fri Apr 17 14:44:41 UTC 2020


 Юрий Иванов via Unbound-users writes:

 > <site>
 > ;; ANSWER SECTION:
 > mysite.net.          10800   IN      A       1.2.25.159
 >
 > ;; AUTHORITY SECTION:
 > mysite.net.          10800   IN      NS      ns2.mysite.net.
 > mysite.net.          10800   IN      NS      ns4.mysite.net.
 > mysite.net.          10800   IN      NS      ns1.mysite.net.
 >
 > ;; ADDITIONAL SECTION:
 > ns1.mysite.net.      10800   IN      A       1.204.196.130
 > ns2.mysite.net.      10800   IN      A       1.2.25.199
 > ns4.mysite.net.      10800   IN      A       1.204.196.200
 >

This is odd, becaause the nameservers should be:


; <<>> DiG 9.16.1 <<>> mysite.net ns
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25190
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mysite.net.			IN	NS

;; ANSWER SECTION:
mysite.net.		324	IN	NS	authns1.untd.com.
mysite.net.		324	IN	NS	authns2.untd.com.
mysite.net.		324	IN	NS	authns3.untd.com.

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Apr 17 16:42:11 CEST 2020
;; MSG SIZE  rcvd: 113

and
	for i in ` dig +short mysite.net ns `
	> do
	> dig +short $i a
	> done
	64.136.52.115
	64.136.44.115
	216.225.254.38

so you seem to do overwrite the official nameserver in you
configuration.

	jaap


More information about the Unbound-users mailing list