mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2025-09-02 15:12:54 +02:00
9 lines
332 B
Text
9 lines
332 B
Text
reresolve-dns
|
|
=============
|
|
|
|
Run this script from cron every thirty seconds or so, and it will ensure
|
|
that if, when using a dynamic DNS service, the DNS entry for a hosts
|
|
changes, the kernel will get the update to the DNS entry.
|
|
|
|
This works by parsing configuration files, and simply running:
|
|
$ wg set wg0 peer ... endpoint ...
|