[Dnsmasq-discuss] Wildcard lookups question?

Simon Kelley simon at thekelleys.org.uk
Sat Jun 30 20:25:34 BST 2007

Jason wrote:
> Gang,
>     Question:  If I use the dnsmasq.conf file format to miss-address an 
> ad server, etc,
> does this entry get placed in the hash table along with the entries from 
> the hosts file and
> therefore remain fast and efficient? 

No, the search process for server=/<domain>/ and address=/<domain>/ 
lines in dnsmasq.conf is linear.

  I'd like to move the entries for
> sites I'm blocking
> from the hosts to /etc/dnsmasq.conf.more in the 
> "address=/baddomain.com/"
> format to take advantage of the wildcard feature, but I have many many 
> domains
> (I'm the guy that has 700k domains to block, remember?).

Performance wins or losses will depend on how many individual names are 
replaced by one wildcard, I guess.



> Jason
> _______________________________________________
> 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