From owner-freebsd-isp Mon Feb 1 06:43:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA28980 for freebsd-isp-outgoing; Mon, 1 Feb 1999 06:43:29 -0800 (PST) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA28975 for ; Mon, 1 Feb 1999 06:43:26 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from sunrise.gv.tsc.tdk.com (root@sunrise.gv.tsc.tdk.com [192.168.241.191]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id GAA01003; Mon, 1 Feb 1999 06:43:06 -0800 (PST) (envelope-from gdonl@tsc.tdk.com) Received: from salsa.gv.tsc.tdk.com (salsa.gv.tsc.tdk.com [192.168.241.194]) by sunrise.gv.tsc.tdk.com (8.8.5/8.8.5) with ESMTP id GAA17110; Mon, 1 Feb 1999 06:43:05 -0800 (PST) Received: (from gdonl@localhost) by salsa.gv.tsc.tdk.com (8.8.5/8.8.5) id GAA08735; Mon, 1 Feb 1999 06:43:04 -0800 (PST) From: Don Lewis Message-Id: <199902011443.GAA08735@salsa.gv.tsc.tdk.com> Date: Mon, 1 Feb 1999 06:43:04 -0800 In-Reply-To: "Jasper O'Malley" "Re: help wanted!" (Feb 1, 7:13am) X-Mailer: Mail User's Shell (7.2.6 alpha(3) 7/19/95) To: "Jasper O'Malley" , John Saunders Subject: Re: help wanted! Cc: phil grainger , freebsd-isp@FreeBSD.ORG Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Feb 1, 7:13am, "Jasper O'Malley" wrote: } Subject: Re: help wanted! } On 1 Feb 1999, John Saunders wrote: } } > It's also a good idea to create a bunch of CNAMES (aliases) in the DNS } > so it looks like you have 1 service per host, then direct the service } > to the host it is on. This lets you move things around without disturbing } > users. e.g. } > ns1.domain.com.au primary name server } > ns2.domain.com.au secondary name server } } Let me just point out that using a CNAME for a name server address is a } no-no. Only one DNS resource record type can refer to a CNAME in its data } field, and that's a CNAME itself. The same deal applies to MX records } (can't point to a CNAME), so mail.domain.com.au probably shouldn't be a } CNAME, either. Use redundant A records, instead. With that caveat, I } wholeheartedly agree with John's suggestion. Since the name that the the MX record points to is local to your DNS zone, it's easier to just point the MX at the actual host that's handling incoming SMTP. Instead of: domain.com.au. IN MX 0 mail.domain.com.au. mail.domain.com.au. IN A 192.1.1.1 foo-host.domain.com.au. IN A 192.1.1.1 just do: domain.com.au. IN MX 0 foo-host.domain.com.au. foo-host.domain.com.au. IN A 192.1.1.1 That way you don't have to teach the MTA on foo-host that it's name is also "mail.domain.com.au", and if you want to change the IP address of foo-host, you only have to change it in one place. This also makes the SMTP greeting that your mail server spits out (foo-host.domain.com.au) consistent with its DNS name that you get by following the MX. If you want to switch your mail host to another server, you only have to change the MX. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message