My goal is to have a DNS server and allow others to make a DNS lookup using my DNS server IP address.
I installed bind9 and modified the named.conf.options
file as below. However from a remote machine unable to perform the lookup
options {
directory "/var/cache/bind";
forwarders {
8.8.8.8;
8.8.4.4;
};
dnssec-validation auto;
listen-on { any; };
listen-on-v6 { any; };
allow-query { any; };
};
When I do nslookup google.com MYDNSIP
on the DNS Server itself, it returns the expected result. However, from different machine, it doesn't work. Getting Server as UnKnown
Server: UnKnown
Address: MYDNSIP
Non-authoritative answer:
Name: google.com
Addresses: 2607:f8b0:4006:819::200e
172.217.12.142
Running netstat -lnptu
returns the following.
Output of netstat
Any help is highly appreciated. Thanks!