Welcome to Bind9 DNS Server Deployment Instructions:
1. Open the command line tool and run the following command to verify DNS Bind9 Server.
dig nameserver.mydomain.com
Here, nameserver.mydomain.com can be any domain name or
You will see below output highlighted in gray:
; <<>> DiG 9.16.1-Ubuntu <<>> 44.203.70.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode QUERY, status NXDOMAIN, id 42203
;; flags qr rd ra; QUERY 1, ANSWER 0, AUTHORITY 0, ADDITIONAL 1
;; OPT PSEUDOSECTION
; EDNS version 0, flags:; udp 65494
;; QUESTION SECTION
;44.203.70.100. IN A
;; Query time 0 msec
;; SERVER 127.0.0.53#53(127.0.0.53)
;; WHEN Thu Nov 03 06:11:36 UTC 2022
;; MSG SIZE rcvd 42
2. Now, run the dig command against the DNS server’s IP to perform the reverse lookup query as shown below
dig -x
You will get below output in highlighted in gray.
; <<>> DiG 9.16.1-Ubuntu <<>> -x 44.203.70.100
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode QUERY, status NOERROR, id 28163
;; flags qr rd ra; QUERY 1, ANSWER 1, AUTHORITY 0, ADDITIONAL 1
;; OPT PSEUDOSECTION
; EDNS version 0, flags:; udp 65494
;; QUESTION SECTION
;100.70.203.44.in-addr.arpa. IN PTR
;; ANSWER SECTION
100.70.203.44.in-addr.arpa. 300 IN PTR ec2-44-203-70-100.compute-1.amaz onaws.com.
;; Query time 3 msec
;; SERVER 127.0.0.53#53(127.0.0.53)
;; WHEN Thu Nov 03 06:11:22 UTC 2022
;; MSG SIZE rcvd 110
3. You can also use nslookup command against the DNS server to confirm DNS server name resolution.
nslookup
You will get below output highlighted in gray.
100.70.203.44.in-addr.arpa
name = ec2-44-203-70-100.compute-1.amazonaws.com.
Enjoy the application!!