Solved

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

Posted on 2004-10-26
260 Views
Last Modified: 2010-04-20
I have tried everything that I can think of today and keep getting server failed in nslookups.  Does anyone have any ideas?

0
Question by:mherrighty
    8 Comments
     
    LVL 38

    Expert Comment

    by:wesly_chen
    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
     

    Author Comment

    by:mherrighty
    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
     
    LVL 38

    Expert Comment

    by:wesly_chen
    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
     

    Author Comment

    by:mherrighty
    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
     
    LVL 38

    Accepted Solution

    by:
    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
     

    Author Comment

    by:mherrighty
    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
     
    LVL 38

    Expert Comment

    by:wesly_chen
    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
     

    Author Comment

    by:mherrighty
    corrupt named.conf

    took forever to figure it was the file
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    875 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now