Re: reversed behavior with nsswitch.conf

From: Joel Gunderson <jdgunder_at_purdue.edu>
Date: Sat, 18 Feb 2006 20:05:49 -0500
Alexander Leidinger wrote:

>Am Fri, 17 Feb 2006 11:09:21 -0500
>schrieb Foo <foo_at_virtual-voodoo.com>:
>
>  
>
>>Hi,
>>
>>I have run into this as well.  I am a student in a class that required 
>>us to set up sendmail in an environment where we don't have access to 
>>the local DNS, so all our resolution is done via /etc/hosts.  I had to 
>>be able to send email between our three *nix boxes, and it kept breaking 
>>on the DNS resolution. Initially, I used mailertable entries to 
>>circumvent the issue since every other strategy I found to turn off DNS 
>>resolution for sendmail didn't work.  However, upon reading this, I 
>>switched the order of the
>>"hosts" settings in nsswitch.conf and got rid of the mailertable entries 
>>and it worked.  So yes, I have run into the issue as well.  I am using 
>>6.0-RELEASE.
>>    
>>
>
>Is it possible for you to update to 6.1-BETA2? Either by doing a binary
>update or by updating /usr/src and doing a build/install?
>
>I haven't tested it, but someone suggested in private mail to use
>"hosts: files [success=return] dns" (he told me this is the way linux
>distributions are doing this) which suggests that the documented
>default criteria in nsswitch.conf(5) doesn't work. Can you test if this
>work-around works?
>
>Bye,
>Alexander.
>
>  
>
I tried the "hosts: files [success=return] dns" in nsswitch, but it 
didn't work.  I'll have to get back to you on the upgrade thing...if for 
some reason the machine flips out on the update I don't have time to fix 
it before checkoffs.  Plus my group members would kill me.

-Joel
Received on Sun Feb 19 2006 - 00:05:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC