-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client: Add support for all entries in a Round Robin set as broker candidates #81
Comments
What you're suggesting is to read all entries in a RRset and then add every one of the items to the list of broker candidates, right? |
Yes, exactly. |
Okay, looking at it, I think it can be done. I found a corner case that would need to be checked: |
It also depends on what type of broker selection is being used. I use 'usage' based. With 'usage' and 'random' , I think it would make more sense to balance between the given dns entries. But if the 'first' broker selection is used, then definitely go through all the dns entries of the first hostname before the others. The limit of 10 brokers is a separate issue. In my personal situation it does not have an impact. But maybe it would be nice to allow setting MAX_BROKERS at compile time. |
I had a look into the code as I was interested in checking for support of the SRV-RR.
I think the SRV-RR lookup should be supplied with a separate parameter which can not be combined with "-b". |
The wikipedia link for "SRV record" is https://en.wikipedia.org/wiki/SRV_record |
I have recently modified the Freifunk tunneldigger init and hotplug scripts to be able to use SRV records. The changes can be seen here freifunk-berlin/falter-packages@29943b0 Instead of having tunneldigger itself get an SRV record, the init and horplug scripts get the SRV record and add them each as single "-b" options. |
It would be really useful to have all available endpoints with a single given Round Robin DNS entry as possible broker candidates. This simplifies a lot on the client side while allowing the broker side to add additional servers.
The text was updated successfully, but these errors were encountered: