[Dnsmasq-discuss] Round-Robin with wildcard

Ken indane at indane.de
Fri Aug 9 10:58:58 BST 2019


Dear DNSmasq-Devs,

I hope this is the right place for this inquiry.


I would like to achive this:

$ nslookup example.com 192.168.178.102
Server:        192.168.178.102
Address:    192.168.178.102#53

Name:    example.com
Address: 192.168.178.125
Name:    example.com
Address: 192.168.178.126
Name:    example.com
Address: 192.168.178.127
Name:    example.com

But with wildcards. "*.example.com" should be resolved like above. Is
this possible at all?


I'm using dnsmasq version 2.79 from the ubuntu repository and this is
what my configuration with the example above looks like:

/etc/test.hosts

192.168.178.125 example.com
192.168.178.126 example.com
192.168.178.127 example.com

/etc/dnsmasq.d/test.conf

addn-hosts=/etc/test.hosts




Best regards

Ken





More information about the Dnsmasq-discuss mailing list