[ale] nslookup works, ping doesn't ???

Lightner, Jeff jlightner at water.com
Tue Jan 19 16:14:56 EST 2010


The documentation the resolv.conf itself suggests it IS in fact used but
that you shouldn't modify it by hand if you want to use netconfig.  It
says modifying it will disable the netconfig stuff (whatever that is).
So putting in original resolv.conf as Gred did works because it has the
same effect as manual edit (which includes disabling netconfig).

-----Original Message-----
From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of
Michael H. Warfield
Sent: Tuesday, January 19, 2010 3:31 PM
To: Atlanta Linux Enthusiasts - Yes! We run Linux!
Cc: mhw at wittsend.com
Subject: Re: [ale] nslookup works, ping doesn't ???

On Tue, 2010-01-19 at 15:09 -0500, Greg Freemyer wrote: 
> On Tue, Jan 19, 2010 at 2:58 PM, Lightner, Jeff <jlightner at water.com>
wrote:
> > I don't use Suse but this seems odd to me.
> >
> > Are you sure resolv.conf isn't used?  Is it possible it just isn't
there by default?   Maybe you need to manually create one.
> >
> > Is there an nsswitch.conf that tells it where to look?
> >
> > On a quick search I see many references to resolv.conf on OpenSuse
11.2.


> Okay, I'll switch my comment about /etc/resolv.conf to say it is
barely used:

I'm seeing some references complaining about weird behavior with an
empty resolv.conf and needing to remove it and then the problem goes
away (I got the impression it then gets created properly but I could be
wrong).  Except those references are in some bug reports wrt 11.2 RC1
and had something to do with NetworkManager.

Mike

> ---------------------------------
> ### /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
> -----------------------------------
> 
> Note only the last line is not a comment.
> 
> As to /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.
> 
> Greg
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |
http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best
of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of
it!
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.
----------------------------------



More information about the Ale mailing list