Install and configure DNS server in Ubuntu 16.04 LTS

You may also like...

  • Van Pham

    Thanks for this guide but i found the problems when i do following your.

    When i check : dig -x 127.0.0.1, or : dig pri.ostechnix.lan
    The server i see if diffirence
    SERVER: 127.0.0.1#53(127.0.0.1)
    ;; WHEN: Fri Dec 09 17:40:03 ICT 2016
    ;; MSG SIZE rcvd: 132

    That’s all wrong the IP ADDRESS. (I’m a newbie using ubuntu)
    Any help ! Tks.

    • SK

      If you have followed the exact steps, you shouldn’t have got this message. Did you add the DNS server IP in your /etc/network/interfaces file? If not, add it and try again. It should work. I have checked this guide multiple times on my local network. It worked every time as I explained.

  • Edivaldo Santos

    I tried it once it worked properly..thanks But i have a question.. Where should i add the secondary DNS zone. I’m trying to use primary,secondary, and client in the same server. I couldn’t figure out if your instructions for secondary DNS zone were to add it on sudo nano /etc/bind/named.conf.local where primary is installed or if its has to be installed in another machine? please help me with that, and if you can add some tips MX records configuration. thanks.

    • SK

      How can you use the same server for primary and secondary DNS? As far as I know it’s impossible.

      • Edivaldo Santos

        alyt! Thanks.