Set up DynDNS on Windows

PowerShell script that only reports on IP change – every 5 minutes via Task Scheduler.

2 minute read Updated 02.12.2026

Our PowerShell script nxdyn.ps1 runs on Windows 10/11 (and Windows Server 2016 or newer). It only reports when your IP has changed, plus a short sign of life once a day.

Get the script

  • Right after creating a host or after Generate new key: download Windows script (pre-filled).
  • Later: client area → DynDNS → Setup → Windows → nxdyn.ps1 (template) and fill in host, key and secret at the top of the script.

Setup

  1. Create the folder C:\nxdyn and save the file as C:\nxdyn\nxdyn.ps1.
  2. Test it once – open PowerShell and enter:

``
powershell -ExecutionPolicy Bypass -File C:\nxdyn\nxdyn.ps1
``

The answer should be good or nochg.

  1. Run automatically every 5 minutes: open PowerShell as administrator (right-click Start → "Terminal (Admin)") and paste the command from the top of the script. It creates the task Nexus DynDNS in Task Scheduler.

Done. Shortly after, the host shows active in the client area.

Good to know

  • The task runs while you are logged in. To run it without login, open Task Scheduler, then Nexus DynDNS → Properties and choose Run whether user is logged on or not.
  • IPv6: the script reports this PC's global IPv6, so exactly this PC is reachable via IPv6.
  • For your service (e.g. a game server) forward the port in your router and allow it in the Windows Firewall.
  • Remove: delete the task Nexus DynDNS in Task Scheduler and the folder C:\nxdyn.
Was this helpful?