Mar 20, 2013

Linux DNS

So in using Linux at work I was never able to get the the DNS for our internal servers to work. I always thought it was a DNS issue until I found this post. So to quickly summarize what is going on is the .local suffixes on all the server DNS entries were never getting resolved by the AVAHI Daemon. Here is what you need to do to fix it.

  1. edit the following file with your text editor of choice:
    /etc/avahi/avahi-daemon.conf
  2. Change the following line:
    #domain-name=local
    to
    domain-name=.alocal
  3. Save the file and exit
  4. Restart AVAHI:
    sudo service avahi-daemon restart
     
Once AVAHI has been restarted those server addresses that end with .local should resolve on your internal network.