[Dnsmasq-discuss] Domain name wildcard match in the --server option

Mingjian Hong hongmingjian at gmail.com
Sun Nov 24 01:09:20 GMT 2019


No.

server=/.google.com.*/127.0.0.1#5053

will not match .google.com.XX

Regards
hmj

On Sun, Nov 24, 2019 at 1:10 AM Geert Stappers <stappers at stappers.nl> wrote:

> On Sat, Nov 23, 2019 at 11:48:45PM +0800, New to Mailinglists wrote:
> >
> > In the config file, I have to write several lines for all domains .
> > google.com.ar, .google.com.jp, etc. For example,
> >
> >     server=/.google.com.ar/127.0.0.1#5053
> >     server=/.google.com.jp/127.0.0.1#5053
> >
> > I just wonder it may be more friendly to use only one line, as follows,
> >
> >    server=/.google.com./127.0.0.1#5053
> >
> > to match any .google.com.XX
> >
>
> Please report back if
>
>     server=/.google.com.*/127.0.0.1#5053
>
> fits your needs.
>
>
> Groeten
> Geert Stappers
> --
> Leven en laten leven
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20191124/ce760124/attachment.html>


More information about the Dnsmasq-discuss mailing list