> As the dnsmasq manual says … > > … just use # for a wildcard: > > address=/#/192.168.2.1
LazyZhu
2015-06-25 15:43:27 +08:00
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html "The domain specification works in the same was as for --server, with the additional facility that /#/ matches any domain. Thus --address=/#/1.2.3.4 will always return 1.2.3.4 for any query not answered from /etc/hosts or DHCP and not sent to an upstream nameserver by a more specific --server directive. "