[Dnsmasq-discuss] wildcard in address switch
Jan 'RedBully' Seiffert
redbully at cc.hs-owl.de
Wed Mar 24 23:51:28 GMT 2010
simon stenning schrieb:
> Hi
>
> I would like to implement wildcards in the address switch, along the lines
> of
>
[snip]
> Is this possible? Is there a wildcard character to be added ie
>
> address=/%domain%/127.0.0.1/
>
Besides of '#', which will match any domain, no, no wildcard character.
But are regex good enough?
Last version of my patch is at:
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2010q1/003643.html
with it you can write:
address=/:domain:/127.0.0.1/
or
address=/:[td]omain\.(org|com|net):/127.0.0.1/
> Thanks in advance
>
> Simon
>
Greetings
Jan
--
class WindowsVista extends WindowsXP implements nothing
{}
More information about the Dnsmasq-discuss
mailing list