Source code snippet from Adalanche showing the iteration through servers, when looking for a usable one
https://media.infosec.exchange/infosecmedia/media_attachments/files/109/420/303/313/375/909/original/2d23ced0acbf137f.png
Adalanche: Improved Domain Controller auto-detection and selection in Adalanche.
You can now supply a list of servers on the command line, or Adalanche will detect them from DNS itself. Then it tries to connect to each of them in turn, until it finds a usable one.
It doesn't honor the Sites & Services lookup yet, but this should work fine until then.
It should probably handle different errors differently, i.e. login errors should just error out instantly. Feedback is welcome!
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.