Created
May 2, 2011 19:51
-
-
Save disusered/952232 to your computer and use it in GitHub Desktop.
Linode Dynamic DNS
This file contains hidden or 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
# update our entry with our ip | |
wget -qO- https://api.linode.com/?api_key=KEY\&api_action=domain.resource.update\&domainid=DOMAINID\&resourceid=RESOURCEID\&Target="[remote_addr]" | |
# | |
# in case you don't have your Domain ID on hand, you would need to run the following command first: | |
# wget -qO- https://api.linode.com/?api_key=APIKEY\&api_action=domain.list | tr ',' '\n'``` | |
# | |
# afterwards, we can get the ResourceID via: | |
# wget -qO- https://api.linode.com/?api_key=APIKEY\&api_action=domain.resource.list\&domainid=DOMAINID| tr ',' '\n'``` | |
# | |
# for A/AAAA entries, [remote_addr] is automatically replaced by the IP where the request originated from. | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment