Re: [opensuse] nslookup works, ping doesn't ???
- From: Verner Kjærsgaard <vk@xxxxxxxxxxxxx>
- Date: Tue, 19 Jan 2010 21:16:38 +0100
Greg Freemyer skrev:
Contents of both files below:
On Tue, Jan 19, 2010 at 2:49 PM, Philip Dowie
<philip.dowie@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] nslookup works, ping doesn't ???
- From: Greg Freemyer
- Re: [opensuse] nslookup works, ping doesn't ???
- References:
- [opensuse] nslookup works, ping doesn't ???
- From: Greg Freemyer
- Re: [opensuse] nslookup works, ping doesn't ???
- From: Manfred Hollstein
- RE: [opensuse] nslookup works, ping doesn't ???
- From: Philip Dowie
- Re: [opensuse] nslookup works, ping doesn't ???
- From: Greg Freemyer
- [opensuse] nslookup works, ping doesn't ???
- Prev by Date: Re: [opensuse] nslookup works, ping doesn't ???
- Next by Date: Re: [opensuse] nslookup works, ping doesn't ???
- Previous by thread: Re: [opensuse] nslookup works, ping doesn't ???
- Next by thread: Re: [opensuse] nslookup works, ping doesn't ???
- Index(es):
Relevant Pages
|