Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!chi-news.cic.net!ddsw1!news.mcs.net!bug.rahul.net!rahul.net!a2i!thales.nmia.com!gallup.cia-g.com!lithium
From: Stephen Fisher <lithium@cia-g.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: DNS MX records?
Date: Wed, 28 Feb 1996 16:33:12 -0700
Organization: New Mexico Internet Access
Lines: 100
Message-ID: <Pine.LNX.3.91.960228161741.409A-100000@gallup.cia-g.com>
References: <8284-264437101@pinboard.com>
NNTP-Posting-Host: gallup.cia-g.com
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <8284-264437101@pinboard.com>
On Wed, 28 Feb 1996 kurt@pinboard.com wrote:
>
> I've either got a problem or I'm misunderstanding something.
>
> My FreeBSD machine is set up as a primary name server. However, mail
> needs to go to another machine. My hosts file for converting domains
> to IP addresses looks like:
>
> ....
> SOA
> ....
>
> IN NS mymachine.my.net.work.
> IN MX mail.ser.ver.
> localhost IN A 127.0.0.1
>
> mymachine IN A xxx.xxx.xxx.xxx
> IN MX 10 mail.ser.ver.
> alias IN CNAME mymachine.my.net.work.
>
> ...
>
> An nslookup tells me that the mail exchanger for both
> mymachine.my.net.work and my.net.work is mail.ser.ver, and if I send
> mail to myself@my.net.work, it correctly goes to mail.ser.ver. However,
> if I send mail to myself@mymachine.my.net.work, then it does not go to
> mail.ser.ver, but is put in my mailbox at mymachine.my.net.work. Can
> anybody tell me what I missed or misunderstood or mixed up? I need mail
> to @my.net.work AND @mymachine.my.net.work to be delivered to
> mail.ser.ver.
It should be like this:
example from me:
-[ cia-g.com.zone ]-
@ IN SOA gallup.cia-g.com. lithium.cia-g.com.
(
15 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ; Minimum TTL of 1 day
)
;; Name Servers
IN NS gallup.cia-g.com.
IN NS thales.nmia.com.
ns IN A 206.206.162.10
cia-g.com. IN A 206.206.162.10
IN MX 0 mailer.cia-g.com.
..tons deleted..
-[ sageweb.com.zone ]-
@ IN SOA gallup.cia-g.com. lithium.cia-g.com.
(
2 ; Serial
10800 ; Refresh after 3 hours
3600 ; Retry after 1 hour
604800 ; Expire after 1 week
86400 ; Minimum TTL of 1 day
)
;; Name servers
IN NS gallup.cia-g.com.
;; Hosts
www IN A 206.206.162.15
IN A 206.206.162.15
IN MX 0 gallup.cia-g.com.
---
Feel free to discuss it further with me.. I've finally gotten pretty good
with DNS/BIND after buying the book and trial&error for months :)
I'm too tired to figure out exactly what you said aboove.. I don't know
if both hosts are on the same domain, etc..
Good luck.
- Steve
- Systems Manager