2020-11-08 03:34:16 +02:00
|
|
|
# Dynamic DNS
|
2020-10-14 01:18:38 +02:00
|
|
|
|
2020-11-08 03:34:16 +02:00
|
|
|
## Setup
|
2020-10-14 01:18:38 +02:00
|
|
|
|
|
|
|
Most cloud providers / ISPs will charge you extra for a static IP address. If you're
|
|
|
|
not hosting a highly reliable homeserver you can workaround this via dynamic DNS. To
|
|
|
|
set this up, you'll need to get the username/password from your DNS provider. For
|
|
|
|
google domains, this process is described [here](https://support.google.com/domains/answer/6147083).
|
2020-11-11 00:00:52 +02:00
|
|
|
After you've gotten the proper credentials you can add the following config to your `inventory/host_vars/matrix.DOMAIN/vars.yml`:
|
2020-10-14 01:18:38 +02:00
|
|
|
|
2020-11-10 23:33:27 +02:00
|
|
|
```yaml
|
2020-11-10 23:30:38 +02:00
|
|
|
matrix_dynamic_dns_enabled: true
|
2020-11-10 23:33:27 +02:00
|
|
|
|
|
|
|
matrix_dynamic_dns_domain_configurations:
|
|
|
|
- provider: domains.google.com
|
|
|
|
protocol: dyndn2
|
|
|
|
username: XXXXXXXXXXXXXXXX
|
|
|
|
password: XXXXXXXXXXXXXXXX
|
|
|
|
domain: "{{ matrix_domain }}"
|
2020-10-14 01:18:38 +02:00
|
|
|
```
|
|
|
|
|
2020-11-11 00:00:52 +02:00
|
|
|
|
2020-10-14 01:18:38 +02:00
|
|
|
## Additional Reading
|
|
|
|
|
|
|
|
Additional resources:
|
|
|
|
|
2020-11-08 03:34:16 +02:00
|
|
|
- https://matrix.org/docs/guides/free-small-matrix-server
|