Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.OZ.AU!news.hawaii.edu!ames!lll-winken.llnl.gov!nntp.coast.net!news.sprintlink.net!ns1.tstt.net.tt!nobody From: feisal@tstt.net.tt Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: DNS MX records? Date: 28 Feb 1996 12:20:23 -0400 Organization: Telecommunications Services of Trinidad and Tobago Lines: 28 Sender: feisal@ns1.tstt.net.tt Message-ID: <4h1vc7$917@ns1.tstt.net.tt> NNTP-Posting-Host: ns1.tstt.net.tt >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: <SNIP> parts deleted >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. I don't understand why you listed _two_ MX records. Remember MX records just let the MTA know which machine to talk to, it's then up to the receiving machine to accept the mail. What I would suggest is my.net.work. IN MX 0 mail.ser.ver. This will ensure that all mail to @my.net.work and @mymachine.my.net.work will all go to mail.ser.ver. Then you must configure sendmail or its equiv on mail.ser.ver to accept mail with the above addresses. -Feisal