Mention AAAA as well as A records; remark on default port 8448 for no-SRV fallback

This commit is contained in:
Paul "LeoNerd" Evans 2015-07-31 18:05:33 +01:00
parent f08588bf7e
commit c6f2f711de

View file

@ -59,10 +59,13 @@ and an optional TLS port.
.. ** .. **
If the port is present then the server is discovered by looking up an A record If the port is present then the server is discovered by looking up an AAAA or
for the DNS name and connecting to the specified TLS port. If the port is A record for the DNS name and connecting to the specified TLS port.
absent then the server is discovered by looking up a ``_matrix._tcp``
SRV record for the DNS name. If the port is absent then the server is discovered by looking up a
``_matrix._tcp`` SRV record for the DNS name. If this record does not exist
then the server is discovered by looking up an AAAA or A record on the DNS
name and taking the default fallback port number of 8448.
Home servers may use SRV records to load balance requests between multiple TLS Home servers may use SRV records to load balance requests between multiple TLS
endpoints or to failover to another endpoint if an endpoint fails. endpoints or to failover to another endpoint if an endpoint fails.