Skip to content

Instantly share code, notes, and snippets.

@Bolt64
Created February 26, 2014 15:40
Show Gist options
  • Save Bolt64/9231885 to your computer and use it in GitHub Desktop.
Save Bolt64/9231885 to your computer and use it in GitHub Desktop.
A script for duckdns
#!/usr/bin/env python3
"""
A script for duckdns
"""
import urllib.request
import time
INTERVAL=300
while True:
urllib.request.urlopen('https://www.duckdns.org/update?domains=doman&token=token&ip=')
time.sleep(INTERVAL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment