Date: Mon, 11 Jun 2001 00:53:53 -0700 (MST) From: "Orville R. Weyrich.Jr" <orville@weyrich.com> To: freebsd-net@FreeBSD.ORG Subject: Sendmail service.switch problem Message-ID: <Pine.LNX.4.10.10106110045380.27156-100000@dopey.weyrich.com> In-Reply-To: <y7vlmmzmwl8.wl@condor2.jinmei.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi -- I am using BSD_4.3-RELEASE and have a problem with service.switch. I want sendmail to deliver to hosts on the local network without consulting DNS -- i.e. to check /etc/hosts for IP addresses. If I place the following line in /etc/mail/service.switch hosts files everything works as expected. But if instead I place the following line in /etc/mail/service.switch hosts files dns then mail gets queued (deferred) with a host name lookup failure when the DNS server is not reachable. I thought that the if the requested host was successfully found in the /etc/hosts file that dns should never be consulted. But apparently DNS is being consulted, even though I stipulated that lookup should first be done in /etc/hosts. Is there a bug in my configuration or understanding? TIA ------------------------------------------------------------------- Orville R. Weyrich, Jr. Weyrich Computer Consulting mailto:orville@weyrich.com KD7HJV http://www.weyrich.com ------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10106110045380.27156-100000>