Created
December 23, 2015 10:34
-
-
Save hlissner/0dd722e96bb13c7811ad to your computer and use it in GitHub Desktop.
Steps to set up a linode-based dyndns
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
# This is not a script! These are notes! | |
KEY= | |
DOMAINID= | |
RESOURCE_ID= | |
# Getting the domain ID | |
https://api.linode.com/?api_key=$KEY&api_action=domain.list | |
# Getting the resource ID | |
https://api.linode.com/?api_key=$KEY&api_action=domain.resource.list&domainid=$DOMAINID | |
# Change update IP in DNS record. You will use this line once you have your $KEY, | |
# $DOMAINID, and $RESOURCEID in, say, a cron-job script or in the DDNS section of any | |
# router with Tomato installed on it. | |
# | |
# NOTE: don't replace [remote-addr], linode will replace it with the IP of the requester | |
https://api.linode.com/?api_key=$KEY&api_action=domain.resource.update&domainid=$DOMAINID&resourceid=$RESOURCEID&target=[remote_addr] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment