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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


   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!

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.

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

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

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.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.