Skip to content

Instantly share code, notes, and snippets.

@KiaArmani
Last active June 30, 2017 10:44
Show Gist options
  • Save KiaArmani/bd390b6418767261c4979bab789cf389 to your computer and use it in GitHub Desktop.
Save KiaArmani/bd390b6418767261c4979bab789cf389 to your computer and use it in GitHub Desktop.
Script to update OVH DynHost via Commandline using wget
#!/bin/bash
PUBLICIP="$(curl ipinfo.io/ip)"
wget -q "http://user:pw%@www.ovh.com/nic/update?system=dyndns&hostname=sub.host.tld&myip="${PUBLICIP}"" -O /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment