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?
 
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.

Wesly
0
 
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
Never miss a deadline with monday.com

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

 
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
 
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
 
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
All Courses

From novice to tech pro — start learning today.