Gluco
12-07-2003, 03:17 PM
I can't seem to resolve certain ips from my server. For instance, I can resolve linux.com but not redhat.com. I can resolve a lot of domains but there are a few that can't. I got a client who can't send email to gamesekai.com because it won't resolve.
Any ideas? Running redhat 9.0 with Cpanel.
Thanks
Gluco
12-07-2003, 04:40 PM
First thing I looked at. Has my two nameserver IPs in it.
mainarea
12-07-2003, 05:11 PM
Try putting a nameserver outside of your server there, and see what happens. What happens when you try a dig on those domains?
- Matt
Gluco
12-07-2003, 11:47 PM
when I add another nameserver it works fine. You know what the problem is?
linux-tech
12-08-2003, 12:14 AM
type this from the command line:
service named status
If looking these up works using external ip's, but not internal, then chances are you don't have a nameserver running (or running properly).
If the return answer is that it's not running, then just type service named start. If errors pop up, you need to deal with those before you can run a nameserver.
Gluco
12-08-2003, 12:41 AM
Service named status gives me
rndc: connect failed: connection refused
/etc/init.d/named start
named: already running
named restart
starts fine with no errors.
Like I said earlier, it is just certain domains, not every domain.
linux-tech
12-08-2003, 12:49 AM
rndc: connect failed: connection refused
There's your problem
Don't restart
service named stop
service named start
service named status
Make sure there are no issues with the named server and you'll be fine. If there are, then you won't be able to use that as a dns nameserver, until you correct the issue.
Gluco
12-08-2003, 01:27 AM
Hey Wolf,
Thanks, any idea what the rndc: connect failed means and how to fix it?
reanncw
12-08-2003, 01:37 AM
What are you running, RH9 with Bind9 ?
linux-tech
12-08-2003, 03:53 AM
it means that your nameservers aren't running properly, OR that your system can't connect to the correct port (usually the first).
Gluco
12-08-2003, 02:08 PM
Ok, I got the rndc fix but I still have the same problem. I've also noticed that I can not ping my nameservers (ns1. and ns2.) from my own server. I can ping them from my work and home computer though..... They have the proper entries. Any ideas about that?
Gluco
12-08-2003, 02:53 PM
Ok, even got that problem fixed. I can resolv anything except for redhat.com and gamesekai.com. I'm sure there are others so I would like to get this problem fixed without adding a static entry for these two domains. I can not do a whois on gamesekai.com from the server because I am unable to connect to enom?? Whois for redhat.com comes out fine.