We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7f143 commit 880ff55Copy full SHA for 880ff55
duck/duck.sh
@@ -3,4 +3,8 @@
3
DOMAINS="YOUR_DOMAINS"
4
# Your DuckDNS Token
5
DUCKDNS_TOKEN="YOUR_DUCKDNS_TOKEN"
6
-curl -k -o /var/log/duck.log "https://www.duckdns.org/update?domains=${DOMAINS}&token=${DUCKDNS_TOKEN}&ip="
+
7
+# A random delay to avoid every client contacting the duckdns server at the same moment
8
+sleep $((RANDOM % 30))
9
+# Request duckdns to update your domain name with your public IP address
10
+curl --silent --max-time 10 --output /dev/null "https://www.duckdns.org/update?domains=${DOMAINS}&token=${DUCKDNS_TOKEN}&ip="
0 commit comments