[Unbound-users] blanket redirect all

squid at proxyplayer.co.uk squid at proxyplayer.co.uk
Wed Sep 10 02:31:49 UTC 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





More information about the Unbound-users mailing list