Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 1997 17:23:50 -0400 (EDT)
From:      "Gary D. Margiotta" <gary@tbe.net>
To:        FreeBSD ISP List <freebsd-isp@freebsd.org>
Subject:   MX and Aliases
Message-ID:  <Pine.BSF.3.95q.971008165616.9226A-100000@lightning.tbe.net>

next in thread | raw e-mail | index | archive | help
Hello,

I have a question about MX records and machine aliases.

Up until now, we have been running a single server to handle mail, http,
and shell accounts.  Not the greatest way to do it, but it worked.  Now we
have a need to split services up.  We are planning on running NIS, but
we haven't gotten that up and running yet.  THe big question is how to
separate the mail and shell servers up and have mail go to the correct
server.  It should be a simple change in the MX records, I think, but this
is how we are currently set up, and I was wondering if I could get some
ideas thrown my way:

tbe.net points to our one machine.  When someone mails user@tbe.net, it
isn't a problem because the one machine handles it.  Now the problem
arises if we have mail.tbe.net as one machine and tbe.net as another.  If
someone mails to user@tbe.net, it will be going to the shell box, not the
mail server, but if we set up tbe.net to be the mail server, the mail will
come in fine, but anyone who telnets into tbe.net will get the mail
server, and there will be no home directories set up there.  How do we
separate the two machines, while having mail delivered to user@tbe.net
rather than having everyone change their email address to reflect a change
to user@mail.tbe.net or whatever.  (if at all possible)

I was thinking a simple MX change as this:

tbe.net.		IN A	208.208.122.15
localhost.tbe.net.	IN A	127.0.0.1

electric.tbe.met.		IN A	208.208.122.10
flash.tbe.net.			IN A	208.208.122.15

;
;aliases
;

www.tbe.net.	IN CNAME flash.tbe.net.
pop3.tbe.net.	IN CNAME electric.tbe.net.
mail.tbe.net.	IN CNAME electric.tbe.net.

;
; Mail exchange info
;

tbe.net.	IN MX	0	electric.tbe.net.
tbe.net.	IN MX	5	flash.tbe.net.
tbe.net.	IN MX	10	signals.net.

Theoretically, this should work.  Any ideas would be greatly appreciated.
Thanks in advance!

______________________________________________________________
-Gary Margiotta				Voice:	(973) 835-9696
TBE Internet Services			Fax:	(973) 256-4605
http://www.tbe.net			E-Mail:	gary@tbe.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.971008165616.9226A-100000>