Last active
June 30, 2017 10:44
-
-
Save KiaArmani/bd390b6418767261c4979bab789cf389 to your computer and use it in GitHub Desktop.
Script to update OVH DynHost via Commandline using wget
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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