> As the dnsmasq manual says … > > … just use # for a wildcard: > > address=/#/192.168.2.1
LazyZhu
2015 年 6 月 25 日
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. "