Date: Thu, 13 Mar 2003 13:29:39 -0500 (EST) From: IAccounts <iaccounts@northnetworks.ca> To: "Phillip Smith (mailing list)" <lists@3bags.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: right way to set-up SOA? Message-ID: <20030313132253.E50632-100000@diana.northnetworks.ca> In-Reply-To: <007d01c2e98c$8c4b3ef0$aeb423cf@3bagsmedia>
next in thread | previous in thread | raw e-mail | index | archive | help
> I'm wondering how, given my scenario, I should set-up the MX record for > my domain (and all the domains I host) In your primary domain, set up your main MX records as: $ORIGIN domain.com. mail IN A 192.1.1.1 mail2 IN A 192.2.2.2 @ IN MX 10 mail @ IN MX 20 mail2 Then in all of your hosted domains, simply use the names: $ORIGIN myotherdomain.com. @ IN MX 10 mail.domain.com. @ IN MX 20 mail2.domain.com. That way, you can change the ip's of the servers in your domain (domain.com), along with the serial, and all of the other domains will simply follow suit with no changes required. This is my preferred method for many servers, not just one. We host 300 domains and this makes it very nice to make changes. Steve > > I only have one physical server at the moment which does everyhing: web, > email, etc. > > For sub-domains, to same some time, I have a *.domain.com which forwards > all requests for anything anything.domain.com to the correct IP (where > Apache then handles it using VirutalHosts.) But, for the MX record, I'd > like to use mail.domain.com, so I can eventually set-up and migrate all > users to a specific mail server, whithout having to update all the SOA > records. For example, when I set-up a mail server, I'd like to change > one record in domain.com's SOA which says mail.domain.com in A > 123.456.78.1 and otherwise, *.domain.com in A 123.456.78.2. > > Does this make sense and is their a better, RFC compliant way of doing > this? > > p. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030313132253.E50632-100000>