LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Troubleshooting DNS (https://www.linuxquestions.org/questions/linux-networking-3/troubleshooting-dns-294213/)

opsraja 02-24-2005 02:52 AM

Troubleshooting DNS
 
I have a Redhat server hosting several sites and one or two of the sites are not pulling up by name (host could not be found), only by ip address;

here is what i tried so far:

checked httpd.conf (i know this wasn't necessary but hey u never know)
went to /etc/rc.d and checked the ips file for ip address (it is listed)

ran ./bind.pl, tried binding and unbinding the ip address, but to no avail.

the zone file is fine as well.

I did a whois on the website, that worked out fine as well.

Is there anything else that I missed that would prevent a website from coming up by name?

linuxxed 02-24-2005 03:29 AM

Is the name server properly registered for your domain? If not then you need to correct it through your registrar.

Here's some info that you can use to debug.

Pick a machine connected to the internet away from your server (not on the same net)


nslookup
>set type=ns
>yourdomain.com

This should give your the nameserver that you've registered for that domain. If incorrect then you would need to change that.

>set type=A
>your domain.com

This will give you the IP address(es) that this domain will resolve to.



What happens when you type "nslookup www.yourdomain.com"? If yu're trying from the server then check your /etc/resolv.conf.



Changes to registry take 24-48 hrs.


All times are GMT -5. The time now is 11:33 AM.