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

Mark.Kasper at icn.siemens.com Mark.Kasper at icn.siemens.com
Wed Jun 16 12:35:44 UTC 1999



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