Custom DDNS script to update Linode DNS
Update Linode DNS on an Asus router running Merlin firmware
- Install
bash
andjq
via entware - Generate Linode API key, then get Domain ID and Resource ID for your A record, then modify the constants delcared at the top of the script (leave
SCRIPT_NAME
alone). - Copy the script to your router as
/jffs/scripts/ddns-start
and make sure it's executable. (Rundos2unix
on it if you edited it using Winblows.) - Test it from command line, and once you're happy change DDNS to "Custom"