This is a custom shell script for Asuswrt-Merlin router firmware to update DDNS via NameSilo.
If you use Asuswrt-Merlin version 384.7 or above you can leverage a new way to update DDNS. More info can be found at https://github.com/RMerl/asuswrt-merlin.ng/wiki/DDNS-services. This method is likely more robust and flexible.
-
Get an API key from NameSilo.
-
Add an A record in NameSilo for your domain (and host if you need one). IP for the record can be anything since we will update it with a script later anyway.
-
Download ddns-start file and modify the following variables with your own settings:
APIKEY
is your NameSilo API keyDOMAIN
is your domain in the A record, e.g. example.comHOST
is your host/subdomain in the A record (leave it blank if you don't have one) -
SSH to your router and place
ddns-start
under/jffs/scripts/
-
Make sure it's executable chmod +x /jffs/scripts/ddns-start
-
Log into the router web UI
- Go to
Advanced Settings
>WAN
>DDNS
- Set
Server
toCustom
- Click the
Apply
button
- Go to