eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
496 stars 88 forks source link

Use round robins properly #204

Open thommey opened 8 years ago

thommey commented 8 years ago

At the moment, dns.mod only takes the first resolved address, and caches it, and ignores the others. It should probably cycle through them by replacing the serverlist with the lookup or something.

michaelortmann commented 5 years ago

As a workaround, you could install/use unbound as your local/own dns server and use its config setting:

rrset-roundrobin: <yes or no>
              If yes, Unbound rotates RRSet order in response (the random number is taken from the query ID, for speed and thread safety).  Default is no.

See man unbound