[Dnsmasq-discuss] load balanced dnsmasq?

richardvoigt at gmail.com richardvoigt at gmail.com
Wed Jul 21 01:34:51 BST 2010


On Mon, Jul 19, 2010 at 6:34 PM, Mariano Absatz <el.baby at gmail.com> wrote:

> Hi,
>
> is there a way to "load balance" among dnsmasq servers?
>
> I have a network of a half dozen servers (with static IPs which I
> write down in /etc/hosts for dnsmasq to publish), plus about 50
> computers which get their IP and hostname from dnsmasq and use it to
> resolve dns, especifically, to know the IP of the servers and other
> PCs with very little "outside" queries... queries to outside dns are
> mostly done on behalf of the servers which need to connect to the
> outer world.
>
> What's more, for the 50 computers, I have compiled the MAC addresses
> and I'm giving them always the same IP/hostname (and no, I can't
> configure static IP in every computer).
>
> It seems that every now and then, one of the computers boot and can't
> get its own address via DHCP (I see nothing in the dnsmasq log so I
> think it may have missed a bunch of DHCP requests from the client at
> some point)... other thing that I also see happen is that cilents
> query dns and get no answer back...a few moments later, the same query
> gets an answer.
>
> I suspect that at some point, dnsmasq can't handle all the requests it
> gets (it is running on a busy server... but I also have seen something
> similar -dns queries not being answered- on a less busy server).
>
> I'd like to be able to put dnsmasq on 2 or 3 servers and that anyone
> of them be able to, at least, resolve dns... ideally, it'd be nice if
> it could also handle dhcp requests.
>

In addition to what I already wrote, you may want to set the dhcp-option
nameserver so that DHCP clients get a list of multiple dns servers to fall
back on, instead of just the single dnsmasq instance that gave the DHCP
lease.


>
> Any suggestions?
>
> TIA
>
> --
> Mariano Absatz - El Baby
> www.clueless.com.ar
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20100720/ec8a66cc/attachment-0001.htm 


More information about the Dnsmasq-discuss mailing list