how to allow domain.com as well as www.domain.com ?

Blair M. Cummings blair at mdb.net
Wed Jun 16 14:14:16 UTC 1999


I'm not sure what the first question was and have only seen a few responses 
come through, but this is starting to scare me. <g>

What you may "Want" and what you should do are two different things.

I would set it up this way...

			IN	A		xxx.xxx.xxx.xxx
hostname	IN	CNAME	domain.com.
www			IN	CNAME	domain.com.

I've tried the "other" ways before and it always seems to break something. 
Mostly zone transfers. 

Just my 2 cents worth.

Good Luck!

Blair

> 
> 
> I have been following this thread with interest, trying the suggestions as they
> are presented. It seems we are back to square one. nslookup for domain.com with
> the following configuration results in "hostname.domain.com can't find
> domain.com : Server failed"
> 
> hostname.domain.com.    IN   A    <IP Address>
> www.domain.com.     IN  CNAME  hostname.domain.com.
> domain.com.         IN  CNAME <IP address> (as suggested below)
> 
> Cricket, did you mean something else?
> 
> Regards,
> Mark
> 
> 
> 
> 
> ---------------------- Forwarded by Mark Kasper/Service/ICN on 06/16/99 08:24 AM
> ---------------------------
> 
> 
> "Cricket Liu" <cricket at acmebw.com> on 06/16/99 01:40:56 AM
> 
> To:   bind-users at isc.org
> cc:    (bcc: Mark Kasper/Service/ICN)
> Subject:  Re: how to allow domain.com as well as www.domain.com ?
> 
> 
> 
> 
> 
> Michael Voight <mvoight at cisco.com> wrote in message
> news:<37669609.57412127 at cisco.com>...
> > In the zone file for domain.com.
> >
> > domain.com. in cname www.domain.com.
> 
> You can't do this.  domain.com already has an SOA record and at least one NS
> record, so adding a CNAME record for it is illegal.
> 
> The only way to do this is
> 
> domain.com.    IN    CNAME    <address of www.domain.com>
> 
> cricket
> 
> Acme Byte & Wire
> cricket at acmebw.com
> www.acmebw.com
> 
> Attend our next DNS and BIND class!  See
> www.acmebw.com/training.htm for the
> schedule and to register for upcoming
> classes.
> 
> 
> 
> 




More information about the bind-users mailing list