Servfail on Bind -9.16.1

upen upendra.gandhi at gmail.com
Sat Nov 21 20:53:31 UTC 2020


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 -t A facebook.com

; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.1 -t A 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.                  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 -t A yahoo.com

; <<>> DiG 9.16.1-Ubuntu <<>> @127.0.0.1 -t A 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.                     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/8a45af84/attachment.htm>


More information about the bind-users mailing list