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

2012-10-10 Thread Cyro Wicks
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@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


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

2012-10-10 Thread Jay Imerman
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 cyrofi...@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@lists.thekelleys.org.uk
 http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss