[Dnsmasq-discuss] partial hostname match

Web Search stappers at stappers.nl
Mon Jun 28 18:31:52 UTC 2021


On Mon, Jun 28, 2021 at 06:50:35PM +0300, Basin Ilya wrote:
> Hi.
> 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 192.168.10.10)
> 
> Unfortunately, the following line does not work in dnsmasq.conf:
> 
>     server=*-the-sub.example.com/192.168.1.1
> 
> 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'
> 

https://duckduckgo.com/?q=DNS+always+replies+same+answer+programme



More information about the Dnsmasq-discuss mailing list