A PowerShell script to update Namesilo's DNS record when IP changes (mostly used on Windows).
- Generate an API key in the API MANAGER at Namesilo and save it in a secure location.
- Copy the script to a desired location.
- Rename
conf.json.exampletoconf.jsonand configure the parameters. - Create a task scheduler.
- Open "Task Scheduler" (e.g., by searching for it in the Start menu).
- Click "Create Task".
- Name the Task as "NameSilo-DDNS" (or any preferred name) and Check "Run whether user is logged on or not".
- Set the trigger: Set Schedule to "Daily", and Repeat the task every "1 hour" for a duration of "1 day".
- Set the Action:
- Type "powershell.exe" (or "pwsh" for the new PowerShell) in the Program/script textbox.
- In the "Add Arguments" box, type
-ExecutionPolicy Bypass -File <script location>\NameSiloDDNS.ps1"