1
I'm running a DD-WRT router (v24SP2-MULTI (11/04/12) std) on my home network and would like to rewrite all outgoing HTTP requests. Specifically, I'd like all requests made for xxx.example.org to be rewritten as a request for zzz.example.org at the router level.
Now, I realize how complex it would be to do this, so I've tried to tackle this at a more simpler level by using DNSMasq to set an absolute address for the domain by using the address directive like so: address=/xxx.example.org/1.2.3.4
While this works, the obvious problem I have is that the IP address could change. I'd be satisfied if I were able to tell DNSMasq to perform a lookup for a different domain instead of having to supply an absolute address, but I don't see that as possible according to the man pages.
My question boils down to: Using a DD-WRT router, can I have all internal to external HTTP requests for a specific domain actually leave the router to a different domain?
Thanks for this recommendation. It looks like I have a lot of reading to do before I can even start on installing Privoxy. The problem with this is that the browser will get a 302 response each time, which will very slightly slow down the total request time. Not a big deal though. – DDWRT In Seattle – 2014-02-05T09:43:57.670