bind9dns

 

We can setup DNS server on our own, whose primary function is to resolve the domain name. And I setup my DNS server by installing bind9 application as,

 

i define forward  lookup zone files inside /etc/bind/named.conf.local file as,

Usually, i don’t define backward lookup zone. Now, i create zone file for example.com as,

Finally, I verify and restart the bind9 service as,

Also, i need to remove network-manager in Ubuntu, while setting up server, and define network interface manually as,

cheers!