Unbound returns incorrect results

Юрий Иванов format_hub at outlook.com
Fri Apr 17 16:09:15 UTC 2020


Thanks Jaap,

All good.
I just change my real nameserver IP and domain names.
As I remember I should change to fake names and addresses before posting to mailgroup.

If this ok to share my real domain names I'll post correct names in future. 😉
________________________________
От: Jaap Akkerhuis <jaap at NLnetLabs.nl>
Отправлено: 17 апреля 2020 г. 17:44
Кому: Юрий Иванов <format_hub at outlook.com>; Юрий Иванов via Unbound-users <unbound-users at lists.nlnetlabs.nl>
Копия: Wouter Wijngaards <wouter at nlnetlabs.nl>
Тема: Re: Unbound returns incorrect results

Юрий Иванов 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20200417/fe4a5ac4/attachment.htm>


More information about the Unbound-users mailing list