This is a Java DNS updater for No-IP, an alternative to DUC (DNS Update Client). This updater is using both Ipify and No-IP APIs to retrieve your current IP address and update your No-IP hostname. See: settings.json
Property | Description |
---|---|
userName | your No-IP username |
password | your No-IP password |
hostName | the hostname(s) (host.domain.com) or group(s) (group_name) to be updated |
userAgent | HTTP User-Agent to help No-IP identify your client |
Note: when making an update it’s important to configure through the userAgent
property an HTTP User-Agent in order to help No-IP identify different clients that access the system. Clients that don’t supply a User-Agent risk being blocked from the system. Your user agent should be in the following format:
NameOfUpdateProgram/VersionNumber maintainercontact@domain.com
One-liner to download, configure and execute:
bash <(curl -Ls https://davidecolombo.space/noip/install)
or directly:
bash <(curl -s https://raw.githubusercontent.com/davidecolombo/noip/master/install.sh)
Please note you may want to schedule the application execution in order to keep updated your dynamic DNS, and the simplest way on *NIX systems is probably using Cron. Example:
*/30 * * * * sudo DISPLAY=:1 java -cp /home/user/noip.jar space.davidecolombo.noip.App -settings /home/user/settings.json > /home/user/noip-log.txt 2>&1