Named RH7.0 blew up today! I have reinstalled and still getting server failed!

I have tried everything that I can think of today and keep getting server failed in nslookups.  Does anyone have any ideas?

Who is Participating?
wesly_chenConnect With a Mentor Commented:
DNS is different issue.
Please check whether there is a process "named" running or not.
If not, then use "/etc/rc.d/init.d/named restart" to start it.
If you have problem to restart the named, then please post the error messages from /var/log/messages.
Also, please provide /etc/hosts content and roll-back the change you made recently.


   Check the following 2 files:
/etc/resolv.conf   ---> need to have "nameserver <Your DNS IP>"
/etc/nsswitch.conf  --> need to have "hosts: files dns"

   If you still have problem, then please post your error messages of nslookup and the output of "ifconfog -a", "netstat -rn", as well as the content of

mherrightyAuthor Commented:
ip of dns server is

If I login in and run a nslookup agianst itseld I get the following error:

*** localhost can't find Server failed

./inconfig -a

eth0          Link encap:Ethernet  HWaddr 00:01:03:E060:cd
                Inet addr:  bcast:  mask:
                up broadcast running multicast mtu:1500 metric:1
                rx packets:126059 errors:1 dropped:1 overruns:1 frame:1
                tx packets:95915 errors:0 dropped:0 overruns:0 carriers:0
                collisions:0 txqueuelin:100
                interrupt:11 base address:0xec00

lo             Link encap:local loopback
                Inet addr:  mask:
                up broadcast running multicast mtu:3924 metric:1
                rx packets:34 errors:0 dropped:0 overruns:0 frame:0
                tx packets:34 errors:0 dropped:0 overruns:0 carriers:0
                collisions:0 txqueuelin:0

netstat -rn

destination          gateway           genmask            flags        mss    window         irt     iface       U             0        0                   0      eth0                U             0        0                   0      lo                     UG          0         0                   0      eth0



I can't think of anything else?  I at a loss!

Never miss a deadline with

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Do you mean the linux box ( itself is a DNS server?
If yes, then you need to config Bind and run the named on it in order to make DNS server up and running first.

However, in the /etc/resolv.conf, it shows you use other DNS server, and

Did you check
/etc/nsswitch.conf  --> need to have "hosts: files dns"

and can you ping ?

Please make your question clear: DNS client to query DNS or setup a DNS server.

mherrightyAuthor Commented:
DNS Server, it ran great for thgree years and blew up yesterday.  ( is the DNS server.  Resolv.conf is point to the upstream resolving servers for domains not controlled by us.

Nsswitch.conf -> hosts: files dns

Can ping resolvers

mherrightyAuthor Commented:
I have two consultants on the ground now working on the issues, but Wesly you gave me a ton of help and Thank You
You are welcome.
I think there may be something wrong on /etc/hosts, /etc/named.conf and some files under /var/named.
Those are DNS server related files.

Good luck,

mherrightyAuthor Commented:
corrupt named.conf

took forever to figure it was the file
All Courses

From novice to tech pro — start learning today.