NO-IP Client¶
See no-ip Dynamic Update Client of how to install a Linux Dynamic Update Client. The VPN is used to link the url dingx.gotdns.ch to a VM.
The Dynamic Update Client (=DUC) runs on the VM and checks frequently for an IP address change. When a different IP address is detected, the DUC automatically updates the hostname to the correct IP address.
1. Download and install the Linux DUC in terminal ———————————-a—————
cd /usr/local/ sudo wget https://www.noip.com/download/linux/latest sudo tar xf latest cd noip-duc_3.1.0/binaries sudo apt install ./noip-duc_3.1.0_amd64.deb
2. Once installed, run the following to start the program¶
noip-duc
3. To login and send updates using DDNS Keys enter the following¶
noip-duc -g all.ddnskey.com --username <DDNS Key Username> --password <DDNS Key Password>Example:
noip-duc -g dingx.gotdns.ch --username fmoehring --password PASSWORD --check-interval 15m
For PASSWORD see KeePass.
4. Configuration¶
The file /etc/default/noip-duc contains the configuration of the service:
sudo nano /etc/default/noip-ducExample:
sudo nano /etc/default/noip-duc ## File: /etc/default/noip-duc NOIP_USERNAME=fmoehring NOIP_PASSWORD=PASSWORD NOIP_HOSTNAMES=dingx.gotdns.ch NOIP_HOSTNAMES=django.gotdns.ch NOIP_HOSTNAMES=logistics.gotdns.chFor PASSWORD see KeePass.
5. Daemon¶
For the installation of a Job on Debian Linux see: Running the Linux DUC v3.0 at startup. The job noip-duc.service has been installed in “/etc/systemd/system” and is active. The job starts the service with the configuration defined in /etc/default/noip-duc.
Install the service:
sudo nano /etc/systemd/system/noip-duc.serviceContent of the service:
[Unit] Description=No-IP Dynamic Update Client After=network.target auditd.service [Service] EnvironmentFile=/etc/default/noip-duc ExecStart=/usr/bin/noip-duc Restart=on-failure Type=simple [Install] WantedBy=multi-user.targetReload the systemd daemon:
sudo systemctl daemon-reloadEnable the service:
sudo systemctl enable noip-ducStart the service:
sudo systemctl start noip-ducStatus of the service:
sudo systemctl status noip-duc