Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain registered with eNom. From time to time I will do an nslookup and get the IP address. However, when I put nslookup it responds

can't find server failed

After restarting Named, I get this error for, while is working as expected.

What could be causing this issue?

I am restarting the main name server in our network; the mentioned domain is hosted on another server.

share|improve this question
Could you edit you question to include your zone file and named's error log ? – François Feugeas Nov 5 '09 at 15:06

2 Answers 2

up vote 2 down vote accepted

declare your www subdomain as a CNAME to your A - example of bind9 configs below:

--- named.conf

zone "" {
     type master;
     file "/etc/bind/";
     allow-update { none; };

--- /etc/bind/

@       IN      A
www     IN      CNAME   @


  • is your IP address (for the domain)

  • there are some parts missing from configs (in the place of SNIP); added only the interesting bits


share|improve this answer

Have you actually got a www in your zone file? Just having the name (and the root working) isn't enough to make the www sub domain work.

share|improve this answer
The question is quite clear (and will be more clear once my edit goes through) that the www subdomain does work ... sometimes. – TRiG Jul 23 at 9:27

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.