Re: www forward with bind
Sebastiaan(S.Breedveld@ITS.TUDelft.NL) is reported to have said:
> 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.
>
> but I have not gotten it to work.
>
> I know it can be done when a http daemon is installed, but I am not
> allowed to open port 80 on my computer, so I would like to redirect the
> www queries by dns. Other solutions are welcome.
Look at your /etc/bind/named.conf file
forward first;
forwarders {
// 192.168.1.1;
127.0.0.1;
your ISP's name server address
};
:-) HTH, YMMV, HAND :-)
--
Documentation is the castor oil of programming. Managers know it must
be good because the programmers hate it so much.
_______________________________________________________
Reply to: