-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Stop calling SRV records 'delegation' #8982
Comments
I suspect this to simplify the terminology for people who are just trying to get it to work. What's the actual difference between "delegation" and a "pointer"? |
Delegation is when the server is being operated by an entity where control of the domain cannot be given to that entity (mozilla.org delegates to mozilla.modular.im because the folks at *.modular.im aren't reasonably able to gain control of mozilla.org to run a homeserver off of it). SRV records more or less define which port and hostname to connect to rather than shift control of the domain elsewhere. Part of the issue with calling SRV records delegation is that people often show up in support rooms asking why their delegation doesn't work - from a spec perspective, there's only one kind of delegation and so they automatically start receiving support for |
I think turt2live is correct. At least I think using |
Seconding this. There's a lot of weird documentation floating around. For instance, the Federation Tester points to the 1.0.0 docs which state the following:
This (from Option 2) is very ambiguous and doesn't help in setting up federation. The most useful is the actual spec which says that, if you don't have a |
the federation tester linking to old docs is a separate issue, for which I raised matrix-org/fed-tester-ui#29. |
According to https://matrix-org.github.io/synapse/latest/delegate.html:
Accordingly, both In short, I don't agree with this issue. |
In that case, should the delegation docs be updated to also include the certificate requirements? My suggestion - instead of "However, that is considered an advanced topic since it's a bit complex to set up, and .well-known delegation is already enough in most cases." one possible option is
...or something of the sort. |
The delegation docs deliberately discourage the use of SRV records because they are hard to set up correctly. I would not be in favour of removing that warning, and I am not in favour of cluttering the document with long details about how to set up SRV records - as the documentation already says, if you really need it, you can go and read the spec. However, as I wrote in matrix-org/fed-tester-ui#29, it might be helpful to add a short note explaining the most likely pitfall. |
I'm also coming around the view that @turt2live is right on this one. If you consider |
https://github.com/matrix-org/synapse/blob/master/docs/delegate.md
This is not how delegation works. Delegation is only capable through the
.well-known
path. SRV records are pointers.The text was updated successfully, but these errors were encountered: