[opensuse] nslookup works, ping doesn't ???
All, I've just had a problematic upgrade of a fileserver. (I ran out of diskspace on the upgrade as well as some other issues.) Anyway, I can now boot to init 3, but my nameserver resolution is not working. I think I have the NIC set correctly in yast (ncurses version). I can ping local machines by IP. I can do: nslookup yahoo.com 127.0.0.1 and nslookup yahoo.com 10.0.1.44 (my desired primary dns server) Both those give the expected result. But "ping yahoo.com" comes back with unknown host. What gives? Thanks Greg -- Greg Freemyer Head of EDD Tape Extraction and Processing team Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer Preservation and Forensic processing of Exchange Repositories White Paper - <http://www.norcrossgroup.com/forms/whitepapers/tng_whitepaper_fpe.html> The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, 19 Jan 2010, 20:22:09 +0100, Greg Freemyer wrote:
All,
I've just had a problematic upgrade of a fileserver.
(I ran out of diskspace on the upgrade as well as some other issues.)
Anyway, I can now boot to init 3, but my nameserver resolution is not working.
I think I have the NIC set correctly in yast (ncurses version).
I can ping local machines by IP.
I can do: nslookup yahoo.com 127.0.0.1 and nslookup yahoo.com 10.0.1.44 (my desired primary dns server)
Both those give the expected result.
But "ping yahoo.com" comes back with unknown host.
What gives?
what's in /etc/resolv.conf ?
Thanks Greg
Cheers. l8er manfred -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Contents of both files below: On Tue, Jan 19, 2010 at 2:49 PM, Philip Dowie <philip.dowie@integrationworks.co.nz> wrote:
what's in /etc/resolv.conf ?
A bunch of comments basically saying it is out of date, and then one real line: ### /etc/resolv.conf file autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation. # # Note: Manual change of this file disables netconfig too, but # may get lost when this file contains comments or empty lines # only, the netconfig settings are same with settings in this # file and in case of a "netconfig update -f" call. # ### Please remove (at least) this line when you modify the file! search internal.norcrossgroup.com
what is in /etc/nsswitch.conf ?
This file I don't know much about, but here it is: -------------------------------- # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. # # passwd: files nis # shadow: files nis # group: files nis passwd: compat group: compat hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files bootparams: files automount: files nis aliases: files --------------------------------------------------- Neither file is obviously right or wrong to me. Also, I found 10.0.1.44 (my preferred dns server) down in /etc/sysconfig/network/config. That file is a little large to put in here until requested. Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Greg Freemyer skrev:
Contents of both files below:
On Tue, Jan 19, 2010 at 2:49 PM, Philip Dowie <philip.dowie@integrationworks.co.nz> wrote:
what's in /etc/resolv.conf ?
A bunch of comments basically saying it is out of date, and then one real line: ### /etc/resolv.conf file autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation. # # Note: Manual change of this file disables netconfig too, but # may get lost when this file contains comments or empty lines # only, the netconfig settings are same with settings in this # file and in case of a "netconfig update -f" call. # ### Please remove (at least) this line when you modify the file! search internal.norcrossgroup.com
what is in /etc/nsswitch.conf ?
This file I don't know much about, but here it is:
-------------------------------- # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. #
# passwd: files nis # shadow: files nis # group: files nis
passwd: compat group: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns
services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files
bootparams: files automount: files nis aliases: files ---------------------------------------------------
Neither file is obviously right or wrong to me.
Also, I found 10.0.1.44 (my preferred dns server) down in /etc/sysconfig/network/config.
That file is a little large to put in here until requested.
Greg
Hi - make a backup of your /etc/resolv.conf file. - then make a new one containing nameserver 8.8.8.8 nameserver 8.8.4.4 <empty new line here> - make sure it's readable by everyone i.e. 644. - I'm not 100% sure, but to me your switcher file looks ok. -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Open Source Academy +45 56964223 Novell Certified Linux Professional 10035701 Linux Counter no 114954 ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Jan 19, 2010 at 3:16 PM, Verner Kjærsgaard <vk@os-academy.dk> wrote:
Greg Freemyer skrev:
Contents of both files below:
On Tue, Jan 19, 2010 at 2:49 PM, Philip Dowie <philip.dowie@integrationworks.co.nz> wrote:
what's in /etc/resolv.conf ?
A bunch of comments basically saying it is out of date, and then one real line: ### /etc/resolv.conf file autogenerated by netconfig! # # Before you change this file manually, consider to define the # static DNS configuration using the following variables in the # /etc/sysconfig/network/config file: # NETCONFIG_DNS_STATIC_SEARCHLIST # NETCONFIG_DNS_STATIC_SERVERS # NETCONFIG_DNS_FORWARDER # or disable DNS configuration updates via netconfig by setting: # NETCONFIG_DNS_POLICY='' # # See also the netconfig(8) manual page and other documentation. # # Note: Manual change of this file disables netconfig too, but # may get lost when this file contains comments or empty lines # only, the netconfig settings are same with settings in this # file and in case of a "netconfig update -f" call. # ### Please remove (at least) this line when you modify the file! search internal.norcrossgroup.com
what is in /etc/nsswitch.conf ?
This file I don't know much about, but here it is:
-------------------------------- # # /etc/nsswitch.conf # # An example Name Service Switch config file. This file should be # sorted with the most-used services at the beginning. # # The entry '[NOTFOUND=return]' means that the search for an # entry should stop if the search in the previous entry turned # up nothing. Note that if the search failed due to some other reason # (like no NIS server responding) then the search continues with the # next entry. # # Legal entries are: # # compat Use compatibility setup # nisplus Use NIS+ (NIS version 3) # nis Use NIS (NIS version 2), also called YP # dns Use DNS (Domain Name Service) # files Use the local files # [NOTFOUND=return] Stop searching if not found so far # # For more information, please read the nsswitch.conf.5 manual page. #
# passwd: files nis # shadow: files nis # group: files nis
passwd: compat group: compat
hosts: files mdns4_minimal [NOTFOUND=return] dns networks: files dns
services: files protocols: files rpc: files ethers: files netmasks: files netgroup: files nis publickey: files
bootparams: files automount: files nis aliases: files ---------------------------------------------------
Neither file is obviously right or wrong to me.
Also, I found 10.0.1.44 (my preferred dns server) down in /etc/sysconfig/network/config.
That file is a little large to put in here until requested.
Greg
Hi
- make a backup of your /etc/resolv.conf file. - then make a new one containing
nameserver 8.8.8.8 nameserver 8.8.4.4 <empty new line here>
- make sure it's readable by everyone i.e. 644.
- I'm not 100% sure, but to me your switcher file looks ok.
thanks Turned out I had a file /etc/resolv.conf.backup.by.convert_to_netconfig or something like that. I moved the new resolv.conf out of the way and copied the above into it. I'm working now. And I already started a zypper dup. Thanks Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Greg Freemyer
-
Manfred Hollstein
-
Philip Dowie
-
Verner Kjærsgaard