getting CNAME to work for www.domain.com equals domain.com on http line

Danny Thomas d.thomas at its.uq.edu.au
Tue Mar 11 05:42:31 UTC 2008


On 11/03/2008, at 3:18 PM, Chris Buxton wrote:

> If you want both "domain" and "www.domain" to work in the browser,
> then either create two A records (one for each) or make "www.domain"
> an alias (a CNAME record) of "domain".

there is a difference between these approaches, which makes me favour
the first even though it is slightly harder..

  I'm not sure there's any practical consequence from the second  
approach,
but having www as a CNAME means www inherits all the records for the
domain itself, including SOA, NS records and perhaps MX, etc

Danny



More information about the bind-users mailing list