Files
server/usr/share/doc/wireguard-tools/examples/reresolve-dns
2026-01-07 20:52:11 +01:00
..
2026-01-07 20:52:11 +01:00
2026-01-07 20:52:11 +01:00

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 ...