Discussion:
[Dnsmasq-discuss] DNSMasq Wildcard Round-Robin DNS
Asad Ali
2018-02-04 11:19:30 UTC
Permalink
Hello I'm trying to achieve something here but I'm not sure if what I'm trying to do is even possible with DNSMasq or not so I need you guys help.


I need to assign multiple static IP addresses to Wildcard domains for example:


*.google.com<http://google.com> should point to:

x.x.x.x

x.x.x.x

x.x.x.x


Example 2:

example.google.com<http://example.google.com> should point to same addreses as above:

x.x.x.x

x.x.x.x

x.x.x.x


and so on....


I can achieve that by using hosts file for fixed

domain like Google.com<http://Google.com> but not with Wildcard entries for it and if I use:


address=/google.com/x.x.x.x<http://google.com/x.x.x.x>


that works with Wildcard domains but with only single IP.


So is there any way to combine them both together?


I really hope I made myself clear....... :/


P.S I'm trying to do that on my routers DNSMASQ which is riding ASUS WRT-Merlin
Loading...