Welcome to the Linux Foundation Forum!

Lab 6.1 DNS Cache-only server

Hi,
I am a little bit confused with DNS output, could someone help?
I get no answer from Cache only DNS server even bind9 shows no error :(

Oct 15 21:31:31 331ed677631c.mylabserver.com named[6079]: resolver priming query complete
Oct 15 21:31:41 331ed677631c.mylabserver.com named[6079]: resolver priming query complete
Oct 15 21:32:01 331ed677631c.mylabserver.com named[6079]: resolver priming query complete
Oct 15 21:32:13 331ed677631c.mylabserver.com named[6079]: resolver priming query complete

DNS configuration
[email protected]:/etc/bind# cat ./named.conf.options
acl localclients {
192.168.0.0/16;
10.0.0.0/8;
localhost;
localnets;
};
options {
directory "/var/cache/bind";
recursion yes;
allow-query { any; };
allow-query-cache { any; };
allow-recursion { localclients; };
forwarders {
0.0.0.0;
8.8.4.4;
};
dnssec-validation auto;
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
[email protected]:/etc/bind#

****command example****
[email protected]:/etc/bind# dig A google.com

; <<>> DiG 9.11.3-1ubuntu1.13-Ubuntu <<>> A google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 27985
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 9367d00ca59f6f209875a3b85f88be4c20db30e576afcfe3 (good)
;; QUESTION SECTION:
;google.com. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Oct 15 21:25:32 UTC 2020
;; MSG SIZE rcvd: 67

Comments

Sign In or Register to comment.