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 Regards hmj On Sat, Nov 23, 2019 at 11:05 PM Geert Stappers <stapp...@stappers.nl> wrote: > On Fri, Nov 22, 2019 at 11:20:39PM +0800, Mingjian Hong wrote: > > Hi, > > > > Is it possible to make dnsmasq match all www.google.com.XX > > using the "--server=/.google.com./<ipaddr>#<port>" ? XX is the > > country/area code, such as ar, hk, jp. > > > > FWIW: I have seen the "yes-no-question" and could not ignore it. > > > I not aware of any syntax in the dnsmasq config parser > that allows to express what original poster wants. > > > > Regards > Geert Stappers > Prefers smart questions ( > http://www.catb.org/~esr/faqs/smart-questions.html ) > -- > Leven en laten leven > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss