[Dnsmasq-discuss] feature request: allow wildcard in addn-hosts

dny mail2dny at gmail.com
Fri Apr 21 11:18:57 BST 2006


> On 4/14/06, Simon Kelley <simon at thekelleys.org.uk> wrote:
> > dny wrote:
> > > i like to put a list of blocked hosts in addn-hosts options.
> > > currently, i can put 127.0.0.1 www.baddomain.com
> > >
> > > now, i really love it if i can put something like this into it:
> > > 127.0.0.1 *.baddomain.com
> > >
> > > so that, i dont care if the domain have a dozen or hundreds subdomains,
> > > they all blocked.
> > >
> > > rgds,
> > > dny
> > >
> > That facility is available, but not in a hosts file (Hosts files are
> > read by other programs, so I can't change/extend the format at will. To
> > get the effect you want, add
> >
> > address=/baddomain.com/127.0.0.1
> >
> > to /etc/dnsmasq.conf
> >
> >
> > Cheers,
> >
> > Simon.
> >
> >
> >
>


please take a look at this:
http://www.accs-net.com/hosts/DNSKong.html

more or less, that's the idea i like to see in dnsmasq.

tnx&rgds,
dny


--- http://bloglines.com/public/bacaan --- harini udah baca blom?

... they look but do not see and hear but do not listen or understand. Mat 13:13
... but that which cometh out of the mouth, this defileth a man.   Mat 15:11


More information about the Dnsmasq-discuss mailing list