CNAME, MX and more

Michael Kjorling michael at kjorling.com
Mon Feb 4 17:23:00 UTC 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Feb 4 2002 10:04 +0100, Paco Orozco wrote:

> Hiya,
>
> Imagine this scenario:
>
> Scenario 1:
>
> nmg.hola.com.		IN	A	10.0.0.1
> nmg.hola.com.		IN	MX	10	mailhost1.hola.com.
> 			IN	MX	20	mailhost2.hola.com.
>
> Is this possible??? Is there any mistake?

You don't define A records for mailhost[12].hola.com. Other than that
there is no problem with this DNS data, syntactically speaking.


> Scenario 2:
>
> nmg.hola.com.		IN	CNAME		server.hola.com.
> nmg.hola.com.		IN	MX	10	mailhost1.hola.com.
> 			IN	MX	20	mailhost2.hola.com.
>
> Is this possible??? Is there any mistake???
>
> Thanks

This must be one of the most frequently asked questions around here.
Try searching for "CNAME and other data" in the archives. RFC 1034
section 3.6.2:

"If a CNAME RR is present at a node, no other data should be present;
this ensures that the data for a canonical name and its aliases cannot
be different."

This restriction has been lessened recently in that SIG, NXT and KEY
records are allowed alongside CNAMEs, for DNSSEC purposes (though I
don't remember which exact RFC codifies this off the top of my head).

Any questions?


Michael Kjörling

- -- 
Michael Kjörling  --  Programmer/Network administrator  ^..^
Internet: michael at kjorling.com -- FidoNet: 2:204/254.4   \/
PGP: 95f1 074d 336d f8f0 f297 6a5b 2aa3 7bfd 8a70 e33e

``And indeed people sometimes speak of man's "bestial" cruelty, but
this is very unfair and insulting to the beasts: a beast can never be
so cruel as a man, so ingeniously, so artistically cruel.''
(Ivan Karamazov, in Dostoyevsky's 'The Brothers Karamazov')

*** Thinking about sending me spam? Take a close look at
*** http://michael.kjorling.com/spam/ before doing so.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Public key is at http://michael.kjorling.com/contact/pgp.html

iD8DBQE8XsN6KqN7/Ypw4z4RAleqAKDLZj8g+8Oqq9VNZNeI5y8K3WHDvgCfbncy
8e75LAmPFHNGtMVsuZP6LgE=
=suAE
-----END PGP SIGNATURE-----




More information about the bind-users mailing list