I host my own DNS server and would like to be able to redirect links from within the DNS server so that redirection is seamless.
Example: redirect all requests for www.yahoo.com to www.google.com. I'd like to rewrite the parameters as well.
IE: www.yahoo.com?search=asdf --> www.google.com?q=asdf
Is this better done through a proxy server? I want to minimize the amount of custom configuration that must be done at the router level and put all the logic into the my DNS (or proxy) server.