summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-07-09 14:45:49 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-07-09 14:45:49 +0100
commit1ccd32ba2489ce75b804b947c23f9749c045d51b (patch)
treee45d10c87410ccc0b67258340895353fdd3d1a1f /bin
parent5add027c4ce2ca58aef672447705e65c6d14b6f7 (diff)
Add Khoi's dyndns script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/dyndns5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/bin/dyndns b/bin/bin/dyndns
new file mode 100755
index 0000000..d0efdc6
--- /dev/null
+++ b/bin/bin/dyndns
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+PASSWORD=$(pass show email/urbain@vaes.uk)
+
+curl -4 -X PUT --user "urbain@vaes.uk:$PASSWORD" https://box.bknguyen.org/admin/dns/custom/vaes.uk