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

Geert Stappers stappers at stappers.nl
Sun Nov 24 08:19:47 GMT 2019


On Sun, Nov 24, 2019 at 09:09:20AM +0800, Top Quoter wrote:
> On Sun, Nov 24, 2019 at 1:10 AM Geert Stappers 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.
> >
> >
> No.
> 
> server=/.google.com.*/127.0.0.1#5053
> 
> will not match .google.com.XX


Acknowledge.

Time will tell which other possiblities exist.


Regards
Geert Stappers

P.S.
Make reading in the discussion order possible.
Example given
http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2019q4/013526.html
Reply below the text.



More information about the Dnsmasq-discuss mailing list