Date: Tue, 23 Mar 2004 21:46:42 +0800 From: "Zhang Weiwu" <weiwuzhang@hotmail.com> To: questions@freebsd.org Subject: Re: tell sendmail to use a different dns server? Message-ID: <BAY16-F27BIIp8HTwjc0000ebbc@hotmail.com>
next in thread | raw e-mail | index | archive | help
Zhang Weiwu wrote: > Hello. I'm using the dns service on a router box. This router does provide dns service, on which every computer in the LAN has a local domain name (computername.our.lan) > > Now the built in dns server's function is limited; it does not relay MX type of record. Thus sending mail using sendmail always get hostname lookup failure. > 1. If I change my name server address in resolv.conf to use my ISP's dns server, I cannot access lan computers using local hostnames. > 2. If I use our dns server, I cannot send mails through sendmail. > > So what should I do? Can I ask sendmail to use ISP's dns server, while the rest programs use local dns server? I just realized I can do this in resolve.conf: ==== # our LAN's dns server nameserver 192.168.0.1 # ISP nameserver 202.101.103.54 Hope this is the best method. _________________________________________________________________ 享用世界上最大的电子邮件系统— MSN Hotmail。 http://www.hotmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY16-F27BIIp8HTwjc0000ebbc>