[Dnsmasq-discuss] DNS mapping for a specific IP

Jima jima at beer.tclug.org
Sun Nov 11 21:18:30 GMT 2012


  Or, if you can spare another IP to run the second dnsmasq instance on, 
you could just assign that DNS server IP to the photo frame.

      Jima

On 2012-11-10 16:47, richardvoigt at gmail.com wrote:
> You could use iptables to redirect DNS queries from that photo frame to
> an alternate dnsmasq instance, via port masquerade.
>
>
> On Sat, Nov 10, 2012 at 9:58 AM, Karina Goyal <karinagoyal at yahoo.com
> <mailto:karinagoyal at yahoo.com>> wrote:
>
>     I need to do following DNS mapping in my router for all requests
>     coming from a specific computer/IP-
>     192.168.2.2amazonaws.com <http://amazonaws.com>
>     This mapping should not be done for requests coming from other
>     computers in my network.
>     Currently I have defined it in my router (DDWRT) using dnsmasq but
>     it is applicable for all computers in my network.
>     The computer that I want to restrict this mapping for is a wireless
>     photo frame. I don't have access to its /etc/hosts file. That's why
>     I need to do it at the router level.
>     Is this possible in standard dnsmasq? If not, is it possible to do
>     it with some small code change in dnsmasq?
>     Thanks,
>     Karina.
>
>     _______________________________________________
>     Dnsmasq-discuss mailing list
>     Dnsmasq-discuss at lists.thekelleys.org.uk
>     <mailto:Dnsmasq-discuss at lists.thekelleys.org.uk>
>     http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list