Servfail on Bind -9.16.1

alcol alcol alcol at hotmail.com
Sat Nov 21 21:05:37 UTC 2020


are not FQDN ...

maybe www.facebook.com<http://www.facebook.com> not only facebook.com
only facebook.com could be referenced with an A record but maybe not

www.facebook.com<http://www.facebook.com> is a right query



________________________________
From: bind-users <bind-users-bounces at lists.isc.org> on behalf of upen <upendra.gandhi at gmail.com>
Sent: Saturday, November 21, 2020 9:53 PM
To: bind-users at lists.isc.org <bind-users at lists.isc.org>
Subject: Servfail on Bind -9.16.1

Hello,
I just installed a simple caching Bind9 using the package provided by Ubuntu 20.04(64bit) OS.

I am not able to look up domains successfully and getting SERVFAILs

$ dig @127.0.0.1<http://127.0.0.1> -t A facebook.com<http://facebook.com>

; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.1<http://127.0.0.1> -t A facebook.com<http://facebook.com>
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 53918
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: fed86438ea8e1ae0010000005fb97d690fedfa8d92731165 (good)
;; QUESTION SECTION:
;facebook.com<http://facebook.com>.                  IN      A

;; Query time: 4 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Nov 21 14:49:45 CST 2020
;; MSG SIZE  rcvd: 69

$ dig @127.0.0.1<http://127.0.0.1> -t A yahoo.com<http://yahoo.com>

; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.1<http://127.0.0.1> -t A yahoo.com<http://yahoo.com>
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20121
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: dc35adc3d4164427010000005fb97d6d9b599c886356e697 (good)
;; QUESTION SECTION:
;yahoo.com<http://yahoo.com>.                     IN      A

;; Query time: 224 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sat Nov 21 14:49:49 CST 2020
;; MSG SIZE  rcvd: 66


# cat /etc/bind/named.conf.options
acl whitelist {
        127.0.0.1;
        localhost;
};

options {
        directory "/var/cache/bind";
        recursion yes;
        allow-query { whitelist; };
        allow-recursion { whitelist ; };
        querylog yes;
};

# ps -ef | grep named
bind        3260       1  0 14:31 ?        00:00:00 /usr/sbin/named -f -4 -u bind

Could you someone guide me to troubleshoot this further? Thank you for the list.

Thanks,
Upen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20201121/07280e51/attachment.htm>


More information about the bind-users mailing list