How can force sendmail to use local cache DNS Server

David Rosenstrauch darose-prQxUZoa2zOsTnJN9+BGXg at public.gmane.org
Thu Jul 30 13:26:45 EDT 2009


Dave Peters wrote:
> Hello all,
> 
> I have setup djbdns as a local cache DNS Server and sendmail mail server. They are in the same box and both are up and running. My question is how can I force sendmail to use.
> 
> Here is the /etc/resolv.conf
> nameserver 4.2.2.1
> nameserver 4.2.2.2
> 
> 
> Thanks.
> 
> Dave


I'm not too up on djbdns (I use dnsmasq), but I think if you add 
"nameserver 127.0.0.1" as the first line in the resolv.conf that would 
do it.

HTH,

DR





More information about the Discuss mailing list