CNAME or A record?
Michael Graff
mgraff at isc.org
Wed Sep 28 14:50:13 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2011-09-28 9:36 AM, feralert wrote:
> Thanks Jeff,
>
> But I really only wrote that as an example :) . The real question
> is what is best or what is recommended, two A RR (one for domain,
> one for www) or a single A RR for domain and a CNAME RR for www, is
> one way better than the other or can I choose either way?
Choose either way. If they are in the same domain, in general it
won't matter all that much.
I personally prefer the address method so each DNS request is smaller
and absolute, but others prefer the CNAME method.
If you cross a zone, however, remember that the address method does
not require additional DNS queries to be sent, while the CNAME method
would. That said, I believe most CDN type networks require a CNAME as
the addresses a specific user would get varies greatly, so that lookup
is not much of an impact it seems.
- --
- --Michael
ISC offers support on many of its products, including BIND 9. If you
depend on it, depend on us!
See http://www.isc.org/support/ for all the details.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6DNCQACgkQLdqv0r6eD6a83gCdEFlS+pvqQPo8UKJfJPGD+d4T
xsMAnjusN2fMbBwfvXqhSD24peDH1r5D
=8rLm
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mgraff.vcf
Type: text/x-vcard
Size: 308 bytes
Desc: not available
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110928/82e0375f/attachment.vcf>
More information about the bind-users
mailing list