[Dnsmasq-discuss] Is this possible? different response for a certain IP range

Mr Nathan Downes nathandownes at hotmail.com
Sun May 25 11:50:08 UTC 2014


Hi,

 

I want to use dnsmasq for general caching of DNS, listening on a public IP
and an internal IP used for NAT PPPOE clients (172.16.x.x).  I want one
address when the internet NAT clients request it to return an internal IP
but not for anyone else.. 

 

i.e

 

any other ip requests  whats.the.ip.com  it would get 130.130.44.44

172.16.x.x client requests whats.the.ip.com it would get 172.16.0.10

 

I am going to use this to bypass the NAT for PPPOE clients for a SIP server,
so they can route direct to it.  But don't want this for the PPPOE clients
that get a public IP, because they have no way to route to the internal IP.

 

Thanks,

 

Nathan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20140525/2827ede0/attachment.html>


More information about the Dnsmasq-discuss mailing list