howto/wireguard.md
... ...
@@ -167,3 +167,11 @@ Address=<your IPv4 address>/32
167 167
Peer=<your peer's IPv4 address>/32
168 168
```
169 169
170
+## Dynamics IP
171
+
172
+As wireguard are only resolving the hostname to IP only on start, dynamics DNS will stop working after a while without further configuration. The Following is a [script](https://github.com/WireGuard/wireguard-tools/blob/master/contrib/reresolve-dns/reresolve-dns.sh) from wireguard which will "re-resolve" the DNS and update the wireguard.
173
+
174
+You can add cron entries to periodically "re-resolve" the DNS:
175
+```
176
+* * * * * /path-to-the-script/reresolve-dns.sh
177
+```