[Dnsmasq-discuss] Wildcard and round-robin DNS in one?

Simon Kelley simon at thekelleys.org.uk
Tue Aug 13 22:32:36 BST 2013


On 13/08/13 18:53, Joe Pranevich wrote:
> I am presently using dnsmasq for a load testing project and we have a
> challenging use-case. We're using DNSMasq on our testing servers to
> ensure that we are hitting the new systems for access, but we now need
> to test it behind round-robin DNS. To make this somewhat more
> challenging, we also are testing using wildcard DNS records, several
> tens of thousands of unique hostnames.
>
> It seems that the combination together doesn't work:
>
> * You can use host file entries to return multiple A records for a zone,
> but /etc/hosts style records don't support wildcards.
>
> * You can use wildcard records in the address= config lines, but then
> only one address at a time.
>
> Is there any way to do both?

Sorry, I don't think there is. The address= config lines take advantage 
of the mechanism which implements server=/domain/, which is why there's 
no round-robin. It might be possible to implement, but it would be 
non-trivial.


Simon.

>
> Thanks for your help,
>
> Joe
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>




More information about the Dnsmasq-discuss mailing list