tinydns +MX

Joan Picanyol i Puig lists-gmane at biaix.org
Wed May 26 11:23:10 PDT 2004


On Wed, 26 May 2004 12:18:36 -0500, Darryl Hoar wrote:
> I have djbdns installed and working.  I have been using DNS
> on my LAN and having it resolve the names for my local machines.
> It forwards any unresolved to my ISP's dns server.

Detail your setup further.

> Recently, I have installed qmail on my LAN for internal email.
> I used the ./add-mx to add a mx record for my machine which
> is running qmail.
> 
> the mx record in the data file looks like:
> @osborneindustries.com:192.168.1.89:a::86400
> 
> If I send test mail to darryl at osborneindustries.com, it gets forwarded to
> my ISP's email server.  If I send email to darryl at mail.osborneindustries.com
> (name of my qmail server), it gets delivered just fine.
> 
> How do I get my mx record setup so that user at osborneindustries.com gets
> delivered to mail.osborneindustries.com ?

qmail is going to the root servers to look for you mx, and thus finds your
isp's. You have to use a split-horizon setup for that.

 
> here are a couple of tests that I ran:
[...]

please run from inside your lan

dnsqr mx osborneindustries.com

qvb
-- 
pica




More information about the freebsd-questions mailing list