diff --git a/proposals/1708-well-known-for-federation.md b/proposals/1708-well-known-for-federation.md index 6e857b85..14ba3bf6 100644 --- a/proposals/1708-well-known-for-federation.md +++ b/proposals/1708-well-known-for-federation.md @@ -51,31 +51,31 @@ request is aborted. If the response is valid, the `m.server` property is parsed as `[:]`, and processed as follows: - a. If `` is an IP literal, then that IP address should - be used, together with ``, or 8448 if no port is - given. The server should present a valid TLS certificate for - ``. - - b. Otherwise, if the port is present, then an IP address is discovered by - looking up an AAAA or A record for ``, and the - specified port is used. The server should present a valid TLS certificate - for ``. - - (In other words, the federation connection is made to - `https://:`). - - c. If the hostname is not an IP literal and no port is given, a second SRV - record is looked up; this time for `_matrix._tcp.`, - which may give yet another hostname (to be looked up using A/AAAA queries) - and port. The server must present a TLS cert for the - `` from the .well-known. - - d. If no SRV record is found, the server is discovered by looking up an AAAA - or A record on ``, and taking the default fallback - port number of 8448. - - (In other words, the federation connection is made to - `https://:8448`). +a. If `` is an IP literal, then that IP address should + be used, together with ``, or 8448 if no port is + given. The server should present a valid TLS certificate for + ``. + +b. Otherwise, if the port is present, then an IP address is discovered by + looking up an AAAA or A record for ``, and the + specified port is used. The server should present a valid TLS certificate + for ``. + + (In other words, the federation connection is made to + `https://:`). + +c. If the hostname is not an IP literal and no port is given, a second SRV + record is looked up; this time for `_matrix._tcp.`, + which may give yet another hostname (to be looked up using A/AAAA queries) + and port. The server must present a TLS cert for the + `` from the .well-known. + +d. If no SRV record is found, the server is discovered by looking up an AAAA + or A record on ``, and taking the default fallback + port number of 8448. + + (In other words, the federation connection is made to + `https://:8448`). ### Structure of the `.well-known` response