home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.protocols.tcp-ip.domains
- Path: sparky!uunet!spool.mu.edu!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert
- From: rickert@mp.cs.niu.edu (Neil Rickert)
- Subject: Re: CNAME records and MX/NS records
- Message-ID: <1993Jan11.203058.28778@mp.cs.niu.edu>
- Organization: Northern Illinois University
- References: <1993Jan11.192147.8578@maths.tcd.ie>
- Date: Mon, 11 Jan 1993 20:30:58 GMT
- Lines: 59
-
- In article <1993Jan11.192147.8578@maths.tcd.ie> ajudge@maths.tcd.ie (Alan Judge) writes:
- >Am I correct in saying that the data in an MX or NS record may not
- >be a CNAME, so that
- > foo.bar. MX mail.foo.bar.
- > mail.foo.bar. CNAME realhost.foo.bar.
- > (and similarly for ns.foo.bar.)
- >is incorrect?
-
- Yes. This is incorrect.
-
- >If so, what do people do when they want a nice logical separation
- >between services and hosts.
-
- The MX record should give you all the separation you need. A user mails
- to 'user@foo.bar' and the mail gets to 'realhost.foo.bar'. Why do you
- need any more separation than that? Why is it easier to change a CNAME
- record in your DNS than to change an MX record? The change is still
- the same in that it takes place in your local DNS data. If you want
- more levels of separation you should be able to use M4 macros to generate
- all of your DNS data, and then hide whatever you want behind the M4
- macros.
-
- > Is it permissible/reasonable to have
- >multiple A records for a single IP address?
-
- It is permissible, and often done. But this is unwise for dealing with
- MX records. At certain stages of processing, your mail software needs
- to know if the MX record is pointing to itself. It typically determines
- this by a case-insensitive string comparison of its own hostname and
- the hostname on the MX record. You are apparently trying to defeat this
- mechanism, possibly resulting in mishandling of mail.
-
- > Will anything get
- >upset that a reverse lookup does not return the same name?
-
- Probably not. There is some software which follows a reverse lookup with
- a forward lookup and cross checks. But there is little if any which uses
- the reverse lookup as a cross check on the forward lookup.
-
- >Specifically, is something like
- > foo.bar. MX mail.foo.bar.
- > foo.bar. NS ns.foo.bar.
- >
- > mail.foo.bar. A 1.2.3.4
- > realname.foo.bar. A 1.2.3.4
- >
- > ns.foo.bar. A 1.2.3.5
- > fred.foo.bar. A 1.2.3.5
- >
- >a reasonable and sane thing to do.
-
- This is permissible. I won't comment on whether it is sane, but it
- surely does not seem reasonable. It sometimes makes sense to "hide"
- the real name of a host from human users, so that configuration changes
- can be done with a minimum of effort. But you are "hiding" real names
- from software which still needs to know those real names, so that if
- you ever change the names you need to the do appropriate configuration
- updates anyway. I fail to see the purpose.
-
-