LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   dns or bind problem please help! (https://www.linuxquestions.org/questions/linux-networking-3/dns-or-bind-problem-please-help-38034/)

latehit 12-11-2002 04:27 PM

dns or bind problem please help!
 
I have Redhat linux 8.0 running on a amd k6/400mhz machine (a test machine). When I configure dns with the domain name I am trying to setup on this machine for testing MySQL and ASP, I cannot get the server to ping itself and I can't go to the default web page. I am wondering if DNS is having problems because every time I enter information in DNS and then save it and try to restart named I get a failure telling me that the network connection was refused and it won't start. Then I reboot and during shutdown it shows that named failed to shut down. Is this normal or do I have a bad install or what? Any help would be appreciated.

thanks

Tap-Out 12-11-2002 07:06 PM

Can your DNS/Bind system ping itself by IP address? If it can than it almost sounds like it's trying to use the DNS information given to you by an ISP.

If it can't ping by IP address, thn I would check if the IP address is correct (you would be suprised how many times it's off by one hard to see number), and if Eth0 (or whatever # it is) is initalizing at startup.

latehit 12-12-2002 08:48 AM

dns or bind problem
 
THanks Tap-out for the response. Yes I can ping myself with the IP address. The server also has an external dns server listed in the secondary dns entry. I put itself in as the primary dns entry and I still get the same results. Any other ideas??

thanks again

sewer_monkey 12-12-2002 01:58 PM

OK, first fo all, do you really want to run a DNS server on your computer? You don't need to run bind/named to be able to resolve domain names. You just have to make sure your ISP's primary and secondary DNS servers are listed in /etc/resolv.conf, like so:

nameserver 1.2.3.4
nameserver 5.6.7.8

Where 1.2.3.4 is the primary DNS server and 5.6.7.8 is the secondary DNS server.

latehit 12-12-2002 04:51 PM

Thanks sewer_monkey I will try that out and get a post back here.

thanks again.


All times are GMT -5. The time now is 07:06 AM.