aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib/examples/reresolve-dns/README
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 16:15:19 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-31 17:25:23 +0100
commit582c20167626086d05917fb73fe3069a0868ae48 (patch)
tree1a9f292be4e669d93d0e2834fc2be7759fd0dc64 /contrib/examples/reresolve-dns/README
parenttools: correct type for CTRL_ATTR_FAMILY_ID (diff)
downloadwireguard-monolithic-historical-582c20167626086d05917fb73fe3069a0868ae48.tar.xz
wireguard-monolithic-historical-582c20167626086d05917fb73fe3069a0868ae48.zip
contrib: add reresolve-dns
Diffstat (limited to 'contrib/examples/reresolve-dns/README')
-rw-r--r--contrib/examples/reresolve-dns/README9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/examples/reresolve-dns/README b/contrib/examples/reresolve-dns/README
new file mode 100644
index 0000000..f228caa
--- /dev/null
+++ b/contrib/examples/reresolve-dns/README
@@ -0,0 +1,9 @@
+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 ...