Add ability to overwrite DNS when trying to contact the related homeserver

This commit is contained in:
Maxime Dor
2017-09-14 23:10:23 +02:00
parent 89a7416367
commit a8488a0745
4 changed files with 148 additions and 0 deletions

View File

@@ -339,3 +339,20 @@ invite.sender.email.email: "matrix-identity@example.org"
# - /var/lib/mxisd/mxisd.db
#
storage.provider.sqlite.database: '/path/to/mxisd.db'
######################
# DNS-related config #
######################
# The domain to overwrite
#
#dns.overwrite.homeserver.name: 'example.org'
# - 'env' from environment variable specified by value
# - any other value will use the value as-is as host
#
#dns.overwrite.homeserver.type: 'raw'
# The value to use, depending on the type
#
#dns.overwrite.homeserver.value: 'localhost:8448'