mirror of
https://github.com/maxkratz/coredns-dyndns.git
synced 2024-05-18 04:00:47 +00:00
15 lines
195 B
Bash
Executable file
15 lines
195 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# Config
|
|
USER="TODO"
|
|
PW="TODO"
|
|
HOST="http://dyn.ns1.example.com"
|
|
|
|
# Hook
|
|
curl -u "$USER:$PW" $HOST/nic/le\?value\="$CERTBOT_VALIDATION"
|
|
|
|
# Wait to let DNS propagate
|
|
sleep 60
|