Skip to content

Instantly share code, notes, and snippets.

@tychoish
Forked from rtucker/setdnstarget.sh
Created August 27, 2009 00:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tychoish/175979 to your computer and use it in GitHub Desktop.
Save tychoish/175979 to your computer and use it in GitHub Desktop.
ssh you@yourlinode "wget -O - -q https://api.linode.com/?api_key=$LINODE_API_KEY\&api_action=domain.resource.update\&domainid=$DOMAINID\&resourceid=$RESOURCEID\&target=\`echo \$SSH_CLIENT | cut -d' ' -f1\`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment