Sendmail and DNS on same server - Newbie question

Barry Margolin barmar at genuity.net
Thu May 25 19:54:01 UTC 2000


In article <392c8899$0$17306 at wodc7nh0.news.uu.net>,
Charles <Sorry_SPAMmers at I'm_not_telling.com> wrote:
>I have a Linux RH 6.1 server running DNS and Sendmail. What is the correct
>way to have Sendmail look at DNS on the same machine? Would I put the
>loopback IP address first in the resolv.conf file?

Yes.  This will make all programs use the local DNS, not just sendmail.

This is also what happens if you don't have any "nameserver" lines at all
in the resolv.conf.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list