Braun Brelin wrote:
>>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.
>>Well I'm not certain it will work, but a quick google lead me to
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
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!