LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Sendmail and WINS

[ILUG] Sendmail and WINS

Niall Walsh linux at esatclear.ie
Mon Mar 21 17:22:30 GMT 2005


Braun Brelin wrote:

>Folks,
>
>I'm trying to configure a Fedora Core 3 system using sendmail.  The
>problem is that the customer only uses WINS, not DNS for name resolution. 
>This means that every time I try and send something via sendmail (i.e.
>/usr/bin/sendmail -v foo at bar.com) I get a host unknown error....
>
>How do I configure sendmail to *not* try and do host lookups via DNS? 
>There doesn't seem to be anything in the /etc/mail/sendmail.mc file that
>pops out at me.
>
>Thanks,
>
>Braun Brelin
>OpenApp
>  
>
Well I'm not certain it will work, but a quick google lead me to 
http://lists.samba.org/archive/samba/2004-July/088685.html which 
suggests that changing your /etc/nsswitch.conf to read

hosts: files wins dns

and having the tools available to do wins lookups installed would mean 
that sendmail should lookup by WINS before DNS?

I'm not 100% certain this will provide everything sendmail needs and 
that it will use it, but I suspect it will?

Of course if you only need a couple of static addresses you could just 
edit /etc/hosts?

Niall



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell