Dynamic DNS
As I have found out, URL request should be as follows:
It's working when I try to update my IP using browser's address field, but I can't find out how to make it work using my router where there are standard fields:
Server
User Name
Password
Host Name
URL
Any help appreciated.
7 Replies
If you send the literal string [remote_addr] for the value of the target, our end will substitute it with the requester's IP. No need to scrape your local IP from the router or whatever…
Hope that helps,
-Chris
-Chris
The script is basically just like or something.
It required more effort to implement than just a simple linode API call every 30 minutes (which is a single API call), but it lets me get updates much quicker while simultaneously accessing the linode API much less frequently.
This URL gives a 404:
https://www.linode.com/api/dns/domain.resource.update
I can't find the answers on Linode, but am looking for working instructions, with examples, for implementing dynamic DNS subdomains on Linode.
Can anyone assist with that?
Thanks,
PW
The Linode website (and API) will have changed drastically over the last 7+ years, so Chris’s original instructions may not even apply now.
The best I can find for you is the API manual for updating a domain record:
https://developers.linode.com/api/v4/domains-domain-id-records-record-id/#put
This has a one line cURL command to issue a change. There’s no mention of it using the requestor’s IP automatically so you may need a way to get that first (a script on your Linode you can call from your home server that outputs the requesting IP?) then push that IP as a change using the above cURL command.