Maintained by: NLnet Labs

[Unbound-users] blanket redirect all

squid at proxyplayer.co.uk
Fri Sep 12 01:16:27 CEST 2014


> I am trying to use wildcards to redirect certain sites through our proxy.
> Is there a way to either:
> (a) blanket redirect via a wildcard all domains ending in .nl
> (b) redirect every single dns request via the proxy server?
>
> My current conf for redirects looks something like:
>  local-zone: "co.uk." transparent
>         # local-zone: "fcod.llnwd.net." transparent
>         local-zone: "bbc.co.uk." redirect
>         local-data: "bbc.co.uk. 600 IN A 109.228.10.144"
>         local-zone: "bbc.com." redirect
>         local-data: "bbc.com. 600 IN A 109.228.10.144"
>         local-zone: "zattoo.com." redirect
>         local-data: "zattoo.com. 600 IN A 109.228.10.144"
>         local-zone: "lovefilm.com." redirect
>         local-data: "lovefilm.com. 600 IN A 109.228.10.144"
>         local-zone: "uktv.co.uk." redirect
>         local-data: "uktv.co.uk. 600 IN A 109.228.10.144"
>         local-zone: "williamhill.com." redirect
>         local-data: "williamhill.com. 600 IN A 109.228.10.144"
>         local-zone: "eurosport.com." redirect
>         local-data: "eurosport.com. 600 IN A 109.228.10.144"
>         local-zone: "netflix.com." redirect
>
>
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>