[Dnsmasq-discuss] load balanced dnsmasq?

richardvoigt at gmail.com richardvoigt at gmail.com
Tue Jul 20 14:04:42 BST 2010


The basic rule for running multiple instances is to not give them
overlapping pools.  Since you use only reservations, this shouldn't be a
problem.

However: the automatically generated dns entries when the address is given
out over DHCP won't be visible to other servers, you'll have to use
permanent records if you want to contact those nodes by name.  That wouldn't
be feasible for dynamic mappings, but with reservations it's straightforward
albeit more work.

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.
>
> 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/14859016/attachment.htm 


More information about the Dnsmasq-discuss mailing list