I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
On Tue, Mar 20, 2007 at 06:22:43PM -0400, Bob Goodwin wrote:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there
/etc/nsswitch.conf hosts entry
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
On Tue, 2007-03-20 at 19:51 -0400, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
I initially set this up with system-config-network and assumed everything would just work?
Did I do the wrong thing?
Bob
On Tue, 2007-03-20 at 19:51 -0400, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
You should already have a key in /etc. Make sure named.conf and rndc.conf have the correct path. I haven't used system-config-network to configure anything before, so I can't speak towards its accuracy. Google for chroot dns (or bind) howto and do it by command line.
On Tue, 2007-03-20 at 20:05 -0400, Bob Goodwin wrote:
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
I initially set this up with system-config-network and assumed everything would just work?
Did I do the wrong thing?
Bob
On Tue, 2007-03-20 at 19:51 -0400, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
T On Mar 20, 2007, at 6:05 PM, Bob Goodwin wrote:
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
The two files, /etc/rndc.conf and /etc/rndc.key must agree...
The relevant lines are
-> key "rndckey";
-ed-
I initially set this up with system-config-network and assumed everything would just work?
Did I do the wrong thing?
Bob
On Tue, 2007-03-20 at 19:51 -0400, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching- nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Edward Milstein wrote:
T On Mar 20, 2007, at 6:05 PM, Bob Goodwin wrote:
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
The two files, /etc/rndc.conf and /etc/rndc.key must agree...
The relevant lines are
-> key "rndckey";
-ed-
Can I just copy/paste between the files to make them the same?
Bob
On Tue, 2007-03-20 at 20:56 -0400, Bob Goodwin wrote:
Edward Milstein wrote:
T On Mar 20, 2007, at 6:05 PM, Bob Goodwin wrote:
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
The two files, /etc/rndc.conf and /etc/rndc.key must agree...
The relevant lines are
-> key "rndckey";
-ed-
Can I just copy/paste between the files to make them the same?
Bob
If by cut and paste, you mean the include line that specifies the key location, then I suppose so. Better option is to view the files in a text editor, find the line that looks like this 'include "/etc/rndc.key";'. That line should point to the same place in both the named.conf and rndc.conf. Also, make sure you actually have an rndc.key file in the directory specified.
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 21/03/07, Bob Goodwin bobgoodwin@wildblue.net wrote:
Can I just copy/paste between the files to make them the same?
I'd start by getting the client resolver working, then move on to caching-nameserver or bind/bind-chroot if needed.
The client resolver is what deals with the initial name resolution, by a browser or an nslookup or dig from the command line, for example. Client lookups are controlled by /etc/resolv.conf and /etc/nsswitch.conf.
Assuming IP routing works and you can, for example, ping stuff by IP as you've said you can then the next step would be to add a nameserver (or nameservers) to /etc/resolv.conf with...
nameserver XXX.XXX.XXX.XX1 nameserver XXX.XXX.XXX.XX2
where XXX.XXX.XXX.XX1/2 are the IPs of your ISPs nameservers. Next stop iptables, stop named and/or the caching nameserver, just to make sure.
# service iptables stop # service named stop
Then try
$ dig www.google.com $ dig www.yahoo.com
If that doesn't work then there's something lower level weird going on and I think you'd just could the situation if you start messing with named without needing it.
Will.
On Mar 20, 2007, at 6:56 PM, Bob Goodwin wrote:
Edward Milstein wrote:
T On Mar 20, 2007, at 6:05 PM, Bob Goodwin wrote:
Ty R. McMichael wrote:
Check your named.conf file for the rndc.key entry. Is the path correct? Did you generate one or use the already built one?
That must be the problem.
/etc/resolv.conf has one line -
nameserver 12.189.32.61
I don't know how to get the key?
The two files, /etc/rndc.conf and /etc/rndc.key must agree...
The relevant lines are
-> key "rndckey";
-ed-
Can I just copy/paste between the files to make them the same?
The two files need to be the same.. Be aware, this is not your problem of why no dns lookup.. This is only to fix your problem with service named status which uses rndc to communicate with the dns server..
Make sense??
-ed-
Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
post these; cat /etc/resolv.conf cat /etc/nsswitch.conf |grep -v ^#
MrKiwi
MrKiwi wrote:
Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob
post these; cat /etc/resolv.conf cat /etc/nsswitch.conf |grep -v ^#
MrKiwi
cat /etc/resolv.conf nameserver 12.189.32.61
cat /etc/nsswitch.conf |grep -v ^#
.........
hosts: files dns
.........
I have to type these manually since Centos is on another computer.
Bob
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Mar 20, 2007, at 5:51 PM, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching- nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob _______________________________________________
When you do a netstat -a ... Do you see something like the following??
tcp 0 0 ns1.xxdomainnamexx.com:domain *:* LISTEN
-ed-
Edward Milstein wrote:
On Mar 20, 2007, at 5:51 PM, Bob Goodwin wrote:
Les Mikesell wrote:
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Bob _______________________________________________
When you do a netstat -a ... Do you see something like the following??
tcp 0 0 ns1.xxdomainnamexx.com:domain *:* LISTEN
-ed-
Dinner call here!
No, I get
tcp 0 0 *:777
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Bob Goodwin wrote:
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Is there some reason to think that a working nameserver exists at the address(es) in your resolv.conf?
Les Mikesell wrote:
Bob Goodwin wrote:
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Is there some reason to think that a working nameserver exists at the address(es) in your resolv.conf?
Yes definitely, I've used the same list of nameservers on all my computers!
What has me puzzled is should Centos 4.4 not work as installed from the CD's? I've installed a number of Linux's in the last ten years and they usually work. Obviously something went wrong in the installation process? I think the simplest thing will be to wipe this one out and start over again, that is assuming that someone can tell me that it normally works "out of the box." It takes less than an hour to install and I've been frustrated at this attempt for five times that now.
I don't doubt that I've made some error but would like to know that it should work, normally does when the CD install finishes?
Thanks.
Bob Goodwin
On 21/03/07, Bob Goodwin bobgoodwin@wildblue.net wrote:
Les Mikesell wrote:
Bob Goodwin wrote:
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Is there some reason to think that a working nameserver exists at the address(es) in your resolv.conf?
Yes definitely, I've used the same list of nameservers on all my computers!
Can you execute a lookup against a specific external DNS? e.g.
dig @158.152.1.65 www.google.com
What has me puzzled is should Centos 4.4 not work as installed from the CD's? I've installed a number of Linux's in the last ten years and they usually work. Obviously something went wrong in the installation process? I think the simplest thing will be to wipe this one out and start over again, that is assuming that someone can tell me that it normally works "out of the box." It takes less than an hour to install and I've been frustrated at this attempt for five times that now.
Hmm, yes, given the correct information and an understanding of where that information is stored and what it's for. However...
I don't doubt that I've made some error but would like to know that it should work, normally does when the CD install finishes?
just rebuilding may fix it, or it'll leave you in the same situation but people will have to get you to re-confirm information before adequate troubleshooting.
I'm a big fan of rebuilding Windows systems where necessary, not so much with Linux. While it *may* help you, it shouldn't be necessary and may mask a deeper problem.
Will.
Bob Goodwin wrote:
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Is there some reason to think that a working nameserver exists at the address(es) in your resolv.conf?
Yes definitely, I've used the same list of nameservers on all my computers!
Can you test them from something else now? (And I thought you said in another message there was only one nameserver in your resolv.conf).
What has me puzzled is should Centos 4.4 not work as installed from the CD's?
Yes, you are the first to mention a problem like this. That's why no one is jumping in with an obvious solution. I'm not sure if I've installed from 4.4 but I'm sure others have and I've upgraded through all the versions. None had a problem with the dns resolver - that's not something you could overlook.
Les Mikesell wrote:
Bob Goodwin wrote:
Named doesn't need to be running if your /etc/resolv.conf points elsewhere. Do you have firewalls blocking port 53?
'dig' is usually a reasonable diagnostic tool.
I tried disabling the firewall, still nothing.
dig just reports "connection timed out; no servers could be reached"
Is there some reason to think that a working nameserver exists at the address(es) in your resolv.conf?
Yes definitely, I've used the same list of nameservers on all my computers!
Can you test them from something else now? (And I thought you said in another message there was only one nameserver in your resolv.conf).
Initially I had set up two "opendns" servers that I use on this computer as well as the ISP's suggested server, and here I also use caching-nameserver. All of this an attempt to reduce the effect of system delays inherent with this satellite ISP. Anyway I reduced resolv.conf to just the ISP's dns when I began to recognize this problem.
What has me puzzled is should Centos 4.4 not work as installed from the CD's?
Yes, you are the first to mention a problem like this. That's why no one is jumping in with an obvious solution. I'm not sure if I've installed from 4.4 but I'm sure others have and I've upgraded through all the versions. None had a problem with the dns resolver - that's not something you could overlook.
Ok, knowing that I think I will reinstall. I am aware of possible problems and will use extra care in my responses to the install menu items.
I thank everyone for their suggestions and help.
Bob Goodwin Zuni, Virginia
Scott Silva wrote:
Bob Goodwin spake the following on 3/20/2007 3:22 PM:
I've just installed Centos 4.4 on a computer, replacing FC6, and the first thing I find is that DNS does not work no matter what I have in /etc/resolv.conf. It should at least work with my ISP's assigned server but doesn't. Numerical URL's work via the browser and ping. Is there something else I need to attend to?
I hope this is the right list for such questions.
Thanks.
Bob Goodwin
Named isn't started by default, even if you install caching-nameserver.
I set named to start and it is running but when I do service named status I get "rndc: connection to remote host closed" don't know what that is telling me?
I need yum working to install caching-nameserver and it wants a working dns.
Bob Goodwin