Skip to content

Instantly share code, notes, and snippets.

@neosb
Last active June 5, 2025 00:05
Show Gist options
  • Select an option

  • Save neosb/788d7f3299a0ad698a23 to your computer and use it in GitHub Desktop.

Select an option

Save neosb/788d7f3299a0ad698a23 to your computer and use it in GitHub Desktop.
One line update script for noip.com dynamic dns service
# This one-liner simply helps you to update your ip on noip.com server
# After this your host can be resolved by human-readble dns name like example.ddns.net
MYIP=$(curl ifconfig.me/ip) && \
curl --user-agent "neosb update script/0.0.3 [email protected]" \
https://username:[email protected]/nic/update?hostname=your.ddns.net&myip=$MYIP &
# To fully use this, put it in cron directory of your choice (maybe cron.daily)
# make it executable, and you're good to go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment