www.domain.com vs. domain.com

Barry Margolin barmar at genuity.net
Tue Jun 13 17:33:38 UTC 2000


In article <m3g0qhqz4d.fsf at rancid.apocalypse.no>,
Pål Sollie <sollie at saint-etienne.no> wrote:
>hilgart  <hilgart at my-deja.com> writes:
>
>> You can put in your zone file: domain.com.  IN A IP_ADDRESS
>
>> We use this feature.
>
>> It would be nice if you could define "domain.com" it as an alias,
>> for instance to www.domain.com, but you cannot in my understanding.
>
>You can't?
>Isn't this a valid config:
>www             IN      A       ip_addr
>domain.com.     IN      CNAME   www
>
>Didn't test this, but it seems logical (or maybe I just need to sleep)

Go back to sleep, it violates the "CNAME and other data" restriction.  You
have to do the A and CNAME records in the other order, like in my response.

-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.



More information about the bind-users mailing list