bji wrote:
jsr wrote:
This would be pretty easy to get working using the API.
Take a look at the API doc at
http://www.linode.com/apiThe request would look something like this (I haven't tested this):
https://api.linode.com/?api_key=abc123& ... et=1.1.1.1Thanks for the info - I was unaware that the Linode API would support this. I will definitely investigate and if I come up with a general solution, I will post about it in the forms so that others can do the same.
OK, so the one feature that I think is missing is a parameter for domain.resource.update, something like "UseRequesterIpAsTarget". This parameter would specify that the requesting client's IP address should be used as the target. This is what zoneedit does - you just hit a URL with wget and whatever IP address you came from is used as the IP address for the host in the DNS record.
This is useful because sometimes a client doesn't actually know what its public IP address is. For example, in my home setup, the box in question is NAT'd behind a cable modem that I use port forwarding on to forward ports I care about. My box doesn't actually know what the public IP address of the cable modem is, but since the box is NAT'd by the cable modem, any traffic it initiates will have the cable modem's IP.
Also, as an aside - I appreciate that the Linode API exists, but it really needs to be documented better. The parameters for the request are almost completely undocumented, although often their names "suggest" what they are used for, and the formatting of the Linode API on the web page makes it very difficult to read. To summarize: great API, crappy documentation. Please fix.