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?

mherrightyAsked:
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.

wesly_chenCommented:
Hi,

   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
/etc/resolv.conf.

Wesly
0
mherrightyAuthor Commented:
ip of dns server is 206.101.188.5

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

*** localhost can't find hoboken.com: Server failed

./inconfig -a

eth0          Link encap:Ethernet  HWaddr 00:01:03:E060:cd
                Inet addr:206.101.188.5  bcast:206.101.188.255  mask:255.255.255.0
                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:127.0.0.1  mask:255.0.0.0
                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
206.101.188.0     0.0.0.0             255.255.255.0    U             0        0                   0      eth0
127.0.0.1            0.0.0.0             255.0.0.0           U             0        0                   0      lo
0.0.0.0                206.101.188.1  0.0.0.0               UG          0         0                   0      eth0

resolv.conf

search hoboken.com
nameserver 204.70.127.127
nameserver 204.70.127.128



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

0
wesly_chenCommented:
Do you mean the linux box (206.101.188.5) 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, 204.70.127.127 and 204.70.127.128.

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

and can you ping  204.70.127.127 ?

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

Wesly
0
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.  (206.101.188.5) 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

Thanks
0
wesly_chenCommented:
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.

Wesly
0

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
0
wesly_chenCommented:
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,

Wesly
0
mherrightyAuthor Commented:
corrupt named.conf

took forever to figure it was the file
0
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
Linux

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.