Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having some problem in trying to setup DNS for my domain on my server. This tutorial normally works fine for me but when i tried to lookup my domain it gives the following output

Server: Address:

Non-authoritative answer: name =

Authoritative answers can be found from:

The server and the address are wrong according to the tutorial

Here is tutorial

/etc/hosts localhost server





How to solve this problem guys.....The tutorial was flawless until i did a server restore

share|improve this question

If the configuration files you posted are from the DNS server: there shouldn't be external resolvers in /etc/resolv.conf. The server is authoritative for itself, and forwarders are configured in the named configuration.

rm /etc/resolv.conf
mv /etc/resolve.conf /etc/resolv.conf

Then check if named is actually running and has a valid configuration.

ps -C named
named-checkconf /PATH/TO/named.conf
named-checkzone /PATH/TO/YOUR/zonefile

Also check your logs to see if the zone was correctly loaded.

share|improve this answer
I tried the commands above but now i get connection timed out when i do nslookup .My domains are not propagating although i set nameservers – Werulz Sep 4 '12 at 3:37
It's nice that you tried them. Would it hurt awfully to tell us which results they produced? If you want help you have to give us something to work with. – Ansgar Wiechers Sep 4 '12 at 9:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.