Proper implamentation of A and CNAME records

MUELLER, STEVE (SBIS) sm1354 at sbc.com
Thu Aug 5 16:58:24 UTC 2004


Like so:
domain.tld.		IN	A	1.2.3.4
www.domain.tld.	IN	A	1.2.3.4

Using CNAME for one or the other would work, but forces hosts to 
do another lookup just to get the final result. Not that it takes
long, but it is another x milliseconds to get that taken care of.
If you specify A records for each, you just got around that extra
lookup mess and the end user is already loading the page. 
Done


> -----Original Message-----
> From: bind-users-bounce at isc.org [mailto:bind-users-bounce at isc.org]On
> Behalf Of Eric Senf
> Sent: Thursday, August 05, 2004 9:18 AM
> To: comp-protocols-dns-bind at isc.org
> Subject: Proper implamentation of A and CNAME records
> 
> 
> OK... I have seen what's out on the Internet but I want to 
> ensure that 
> this is done properly.
> 
> We have a web site. We want this site to be at both 
> www.domain.com and 
> domain.com. I know it is not proper to CNAME a root domain entry thus 
> creating an A record for www.domain.com and a CNAME for domain.com 
> won't work. I also know it's not proper (though this is what 
> most site 
> do like M$, Sun, etc.) is to create two A records for the 
> same IP, one 
> pointing to www.domain.com and domain.com.
> 
> Is this properly accomplished by creating an A record for domain.com 
> and then a CNAME for www.domain.com?
> 
> Thanks for any guidance,
> Eric.
> 
> 
> 


More information about the bind-users mailing list