Re: [Dnsmasq-discuss] Load balancing between multiple forward servers

2013-12-12 Thread Simon Kelley

On 11/12/13 17:32, Dallas Engelken wrote:

Hi,

Running, dnsmasq version 2.48.

In my config, I have

server=/my.domain/1.2.3.4
server=/my.domain/2.3.4.5

But when I query www.my.domain, all queries go to 1.2.3.4, and never
2.3.4.5

I have also tried enabling *all-servers* as well in the config, but
according to the log, it never sends queries to both 1.2.3.4 and 2.3.4.5

Is this not possible? Or am I missing something here?



The second (2.3.4.5) will be used in some circumstances (if a query to 
the first times out, or the first returns an error), but servers for 
particular domains aren't load-balanced in the same way as genera;-query 
servers. This is arguably not optimal, but changing it is probably done 
by a major rewrite of some fairly knarly code, and it's never got to the 
top of the TODO list.



Cheers,

Simon.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Load balancing between multiple forward servers

2013-12-11 Thread Dallas Engelken

Hi,

Running, dnsmasq version 2.48.

In my config, I have

server=/my.domain/1.2.3.4
server=/my.domain/2.3.4.5

But when I query www.my.domain, all queries go to 1.2.3.4, and never 2.3.4.5

I have also tried enabling *all-servers* as well in the config, but 
according to the log, it never sends queries to both 1.2.3.4 and 2.3.4.5


Is this not possible?  Or am I missing something here?

Thanks,
Dallas


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss