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

Mark_Andrews at isc.org Mark_Andrews at isc.org
Wed Jun 16 13:09:55 UTC 1999


> 
> 
> I have been following this thread with interest, trying the suggestions as th
> ey
> are presented. It seems we are back to square one. nslookup for domain.com wi
> th
> 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?

	Cricket ment an A record.

	Read his comments and think about which records have an
	IP address on the right hand side.

	Mark
> 
> 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.
> 
> 
> 
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list