<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
are not FQDN ...</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
maybe <a href="http://www.facebook.com" id="LPlnk">www.facebook.com</a> not only facebook.com</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
only facebook.com could be referenced with an A record but maybe not</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<a href="http://www.facebook.com" id="LPlnk">www.facebook.com</a> is a right query<br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview_1 _EReadonly_1"></div>
<br>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<br>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> bind-users <bind-users-bounces@lists.isc.org> on behalf of upen <upendra.gandhi@gmail.com><br>
<b>Sent:</b> Saturday, November 21, 2020 9:53 PM<br>
<b>To:</b> bind-users@lists.isc.org <bind-users@lists.isc.org><br>
<b>Subject:</b> Servfail on Bind -9.16.1</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello,
<div>I just installed a simple caching Bind9 using the package provided by Ubuntu 20.04(64bit) OS.</div>
<div><br>
</div>
<div>I am not able to look up domains successfully and getting SERVFAILs</div>
<div><br>
</div>
<div>$ dig @<a href="http://127.0.0.1">127.0.0.1</a> -t A <a href="http://facebook.com">
facebook.com</a><br>
<br>
; <<>> DiG 9.16.1-Ubuntu <<>> @<a href="http://127.0.0.1">127.0.0.1</a> -t A <a href="http://facebook.com">
facebook.com</a><br>
; (1 server found)<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 53918<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1<br>
<br>
;; OPT PSEUDOSECTION:<br>
; EDNS: version: 0, flags:; udp: 4096<br>
; COOKIE: fed86438ea8e1ae0010000005fb97d690fedfa8d92731165 (good)<br>
;; QUESTION SECTION:<br>
;<a href="http://facebook.com">facebook.com</a>.                  IN      A<br>
<br>
;; Query time: 4 msec<br>
;; SERVER: 127.0.0.1#53(127.0.0.1)<br>
;; WHEN: Sat Nov 21 14:49:45 CST 2020<br>
;; MSG SIZE  rcvd: 69<br>
<br>
$ dig @<a href="http://127.0.0.1">127.0.0.1</a> -t A <a href="http://yahoo.com">yahoo.com</a><br>
<br>
; <<>> DiG 9.16.1-Ubuntu <<>> @<a href="http://127.0.0.1">127.0.0.1</a> -t A <a href="http://yahoo.com">
yahoo.com</a><br>
; (1 server found)<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 20121<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1<br>
<br>
;; OPT PSEUDOSECTION:<br>
; EDNS: version: 0, flags:; udp: 4096<br>
; COOKIE: dc35adc3d4164427010000005fb97d6d9b599c886356e697 (good)<br>
;; QUESTION SECTION:<br>
;<a href="http://yahoo.com">yahoo.com</a>.                     IN      A<br>
<br>
;; Query time: 224 msec<br>
;; SERVER: 127.0.0.1#53(127.0.0.1)<br>
;; WHEN: Sat Nov 21 14:49:49 CST 2020<br>
;; MSG SIZE  rcvd: 66</div>
<div><br>
</div>
<div><br>
</div>
<div># cat /etc/bind/named.conf.options<br>
acl whitelist {<br>
        127.0.0.1;<br>
        localhost;<br>
};<br>
<br>
options {<br>
        directory "/var/cache/bind";<br>
        recursion yes;<br>
        allow-query { whitelist; };<br>
        allow-recursion { whitelist ; };<br>
        querylog yes;<br>
};<br>
<br>
<div># ps -ef | grep named<br>
bind        3260       1  0 14:31 ?        00:00:00 /usr/sbin/named -f -4 -u bind<br>
</div>
<div><br>
</div>
Could you someone guide me to troubleshoot this further? Thank you for the list.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Upen</div>
</div>
</div>
</div>
</body>
</html>