*BSD News Article 62534


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!news.uoregon.edu!europa.chnt.gtegsc.com!news.kreonet.re.kr!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!chi-news.cic.net!newsfeed.internetmci.com!news.sprintlink.net!gol2!pinboard.com!kurt
Subject: DNS MX records?
Newsgroups: comp.unix.bsd.freebsd.misc
From: kurt@pinboard.com
Date: Wed, 28 Feb 96 19:05:42 JST
Message-ID: <8284-264437101@pinboard.com>
Organization: PINBOARD - it's where you go for e-mail
Lines: 36


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.

Thanks,

Kurt

... Kurt@pinboard.com / 28 Feb 96 13:30:26 (JST)