On 08/05/2023 23:00, public1020 via Dnsmasq-discuss wrote:
Thanks, dnsmasq does not support this feature. I will match all
subdomains regardless.
Case closed :-)
The man page says that it does what you've described:
-A, --address=/<domain>[/<domain>...]/[<ipaddr>]
...
/etc/hosts and DHCP leases override this for individual names. A
common use of this is to redirect the entire doubleclick.net
domain to some friendly local web server to avoid banner ads.
The domain specification works in the same way as for --server,
...
A quick gander over the source code implies that changing this would not
be trivial. :-)
Cheers,
Gary B-)
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss