Connecting a Domain to a Network with a Changing IP using Dynamic DNS (Windows)

A static IP address is usually required so that a computer, a home network, or a small company network can always be reached through the Internet under the same host name. This is also necessary if you want to connect to your home network using a VPN, for example. However, if your home network or small business network is connected to the Internet with certain types of connections such as DSL, a new (dynamic) IP address is regularly assigned to the network. As a result, the computer, home network, or small business network cannot be permanently reached using the IP address.

In this case, you can use Dynamic Domain Name System (DNS) to automatically update the constantly changing IP addresses in the domain's DNS record so that your home network is permanently accessible under your domain.

The following step-by-step instructions will show you how to install the program DomainConnectDDNSSetup.exe on a computer running Microsoft Windows.

Installing DomainConnectDDNS

  • Download the file DomainConnectDDNS.zip from the following page:

    https://github.com/Domain-Connect/DomainConnectDDNS-Windows

  • Unzip the file.

  • Open the folder where the unzipped files are located.

  • Run the DomainConnectDDNSSetup.exe file as an administrator.

  • Enter the desired domain name in the Domain Name field (such as example.com).

  • Optional: Enter the desired subdomain in the subdomain.

  • Click Get Code. The How to open this item window appears.

  • Select the desired browser and activate the Always use this app option.

  • Click OK. The browser opens and the IONOS login page is displayed.

  • Log in to IONOS.

  • Click Allow.

  • Click Copy to clipboard next to the displayed code.

  • Switch to the DomainConnectDDNSSetup.exe program.

  • Enter the code in the Access Code field and click Finish. The Restart Service window appears.

  • Click OK.

There are two ways of automatically updating the IP address of the domain in the DNS record after the DomainConnectDDNS program has been installed.

  • If you have admin privileges, you can run DomainConnectDDNSUpdate.exe permanently as a Windows system service to automatically update the DNS record of the domain.

  • If your Microsoft Windows user account does not have administrative rights, you must add the DomainConnectDDNSUpdateTray.exe file to the autostart.

  • Depending on the configuration of the roles and rights of the user accounts, the file DomainConnectDDNSUpdateTray.exe may not be added to the autostart.

  • If you add the file DomainConnectDDNSUpdateTray.exe to the autostart without administrator rights, the program will only run if you have logged in with your user profile on the computer.

  • If you run DomainConnectDDNSUpdate.exe permanently as a Windows system service as an administrator, the program will run even if another user logs on to the computer.

Running DomainConnectDDNSUpdate.exe as Windows System Service

To run the program DomainConnectDDNSUpdate.exe permanently as a Windows system service, follow these steps:

  • Open the command prompt.

  • Open the directory C:\Windows\Microsoft.Net\Framework\v4.0.30319\.

  • To run the DomainConnectDDNSUpdateTray.exe program as a Windows service, run the following command:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil.exe C:\FOLDER_OF_THE_UNPACKED_ZIP-FILE\DomainConnectDDNSUpdate.exe Example:
    C:\Windows\Microsoft.NET\Framework\v4.0.30319>InstallUtil.exe C:\DomainConnectDDNS\DomainConnectDDNSUpdate.exe

  • Press the Windows + R keys together.

  • Enter the command services.msc and click OK. The Services window opens.

  • Right-click Domain Connect DDNS Update.

  • Click Properties.

  • To start the service at startup, select Automatic under Startup type.

  • To start the service, click Start.

  • Click Apply, and then click OK.

Adding DomainConnectDDNSUpdateTray.exe to Autostart

To add the file DomainConnectDDNSUpdateTray.exe to the autostart, follow these steps:

  • Open the folder where the unzipped files are located.

  • Right-click DomainConnectDDNSUpdateTray.exe and create a shortcut.

  • Copy the link.

  • Press the Windows + R keys together.

  • Enter the command shell:startup and click OK.

  • Insert the file.

  • Restart your computer.