Hi,
On Fri, 1 Mar 2002, nate wrote:
> <quote who="Sebastiaan">
> > Hello,
> >
> > I use bind for my domain and I am trying to forward any www queries
> > to the providers' server. So suppose my domain name is domain.com,
> > I want that every www.domain.com is redirected to
> > www.me.provider.com.
> >
> > I have tried various variations in the zone files, like:
> > www IN CNAME www.me.provider.com.
>
> your syntax is incorrect. try:
>
>
> www.mydomain.com. IN CNAME www.me.provider.com.
>
> note the full domain at both sides of the entry, and the
> period at the end of both domains.
>
> i do this all the time on BIND 8 and it works fine. try
> it out.
>
the logfile still complains:
www.sacred-key.org has CNAME and other data (invalid)
/etc/bind/db.sacred-key:21:www.sacred-key.org: CNAME and OTHER data error
master zone "sacred-key.org" (IN) rejected due to errors (serial 2002030200)
while I have bind8 too: named 8.2.3-REL-NOESW
and db.sacred-key contains:
www.sacred-key.org. IN CNAME www.cosjoan.box.nl.
Thanks,
Sebastiaan