[Dnsmasq-discuss] partial hostname match

Basin Ilya basinilya at gmail.com
Mon Jun 28 15:50:35 UTC 2021

I want to configure a DNS server that forwards 3rd level domain matching a certain pattern to a certain upstream server. 
(That dedicated upstream DNS server is supposed to convert domains of the form "192-168-10-10-the-sub.example.com" into their corresponding ip addresses like

Unfortunately, the following line does not work in dnsmasq.conf:


It will not treat the asterisk char as a wildcard and will just check that the requested domain is equal to '*-the-sub.example.com'

More information about the Dnsmasq-discuss mailing list