[Dnsmasq-discuss] Different dns config based on network address

Jay Imerman jimerman at gmail.com
Wed Oct 10 14:45:11 BST 2012


Cyro, I think what you want to use is tags. If you read thru the conf
file there are numerous references to them.



- Jay
Sent from my iPhone

On Oct 10, 2012, at 9:04, Cyro Wicks <cyrofilho at pcmasters.com.br> wrote:

> Hello all,
>
> I have a firewall and dns server for my entire network, and what i would like to do is to have dnsmasq to read /etc/hosts_net1 or /etc/hosts_net2 based on the network address coming from net1 or net2.
>
> I am trying to implement an internet filtering based on dnsmasq, but i would like to have net1 users and net2 users with different dns block rules defined on /etc/hosts_net1 and /etc/hosts_net2 files!
>
> Is it possible with dnsmasq?
>
> Thank you very much for any help.
>
> Cyro
> _______________________________________________
> 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