Domain name usage question ?

Ceri Davies ceri at submonkey.net
Fri Jun 4 23:47:06 BST 2004


--72k7VsmfIboquFwl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 04, 2004 at 10:02:56PM +0100, Kevin O'Connor wrote:
> > >
> >Is it not an alias or a pointer which needs to be created to direct
> >www.example.com to example.com??
> >
>=20
> To quote directly from RFC 1035
>=20
> "if a domain name has a CNAME record associated with it, then it can not
> have any other record types. In addition, CNAME records should not point
> to domain names which themselves have associated CNAME records, so CNAME
> only provides one layer of indirection."=20
>=20
> Technically this means you can create a CNAME to "example.org" but it
> will probably break because of more than 1 record type pointing to the
> zone eg. MX=20

This is why you use an A record for example.org.  For example:

$ORIGIN example.com.
	IN	NS	ns1.example.com.
	IN	NS	ns2.example.com.
	IN	MX	10 gate.example.com.
	IN	MX	20 quux.example.com.
	IN	A	192.168.123.45
www	IN	CNAME	example.com.
<snip>

This doesn't violate either of the provisions set forth above in RFC1035
(or anywhere else).

Ceri
--=20
It is not tinfoil, it is my new skin.  I am a robot.

--72k7VsmfIboquFwl
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAwPvqocfcwTS3JF8RAhM6AJ0RvFIMYXcVCQTtVnwpdVQYREem9QCfW13I
dz4lc0/t9uWgGlHqa4WRmug=
=wwH/
-----END PGP SIGNATURE-----

--72k7VsmfIboquFwl--




More information about the Ukfreebsd mailing list