From a51ca559330f8e31c67a35263397fe422022be40 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 22 Aug 2023 09:21:09 -0600 Subject: [PATCH] Fix flow of steps 4 and 5 --- content/server-server-api.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/content/server-server-api.md b/content/server-server-api.md index 17cd507e..d658e009 100644 --- a/content/server-server-api.md +++ b/content/server-server-api.md @@ -156,8 +156,9 @@ to send. The process overall is as follows: a `Host` header containing the ``. The target server must present a valid certificate for ``. - 4. **[Deprecated]** If `` is not an IP literal and no - `` is present, an SRV record is looked up for + 4. **[Deprecated]** If `` is not an IP literal, no + `` is present, and a `_matrix-fed._tcp.` + SRV record was not found, an SRV record is looked up for `_matrix._tcp.`. This may result in another hostname (to be resolved using AAAA or A records) and port. Requests should be made to the resolved IP address and port with @@ -177,7 +178,8 @@ to send. The process overall is as follows: header of ``. The target server must present a valid certificate for ``. -5. **[Deprecated]** If the `/.well-known` request resulted in an error response, a server is +5. **[Deprecated]** If the `/.well-known` request resulted in an error response, + and a `_matrix-fed._tcp.` SRV record was not found, a server is found by resolving an SRV record for `_matrix._tcp.`. This may result in a hostname (to be resolved using AAAA or A records) and port. Requests are made to the resolved IP address and port, with a `Host`