[Dnsmasq-discuss] alias - IP for IP?

richardvoigt at gmail.com richardvoigt at gmail.com
Wed Feb 28 02:47:47 GMT 2007


On 2/27/07, Morgan Read <mstuff at read.org.nz> wrote:
> Hello
>
> I'm new to this - running dnsmasq on dd-wrt and wanting requests from my
> local network for IP addy 1.2.3.4 to be redirected to my local pc at
> 192.168.1.30.  So, requests for http://1.2.3.4 hit apache on 192.168.1.30.

You need netfilter for that, with rules in the mangle table.  Requests
for an IP address don't use DNS, hence dnsmasq isn't even in the
picture.

Google for transparent web cache and you'll find plenty of details on
how to set that up.



More information about the Dnsmasq-discuss mailing list