You can create a script in Raspberry Pi and setup a cron job to run every 5 minutes to keep your hostnames updated
to the most current IP address.
1. Create a directory to put the files into.
2. Create a dynu.sh script with the command to update the IP address. For security reasons, you should use the MD5 hash of your password. If you use the regular password, please be sure to URL encode any special characters in the password.
4. Use a cron job to make the script run every 5 minutes.
Add the following to the bottom of the crontab:
Dynu Custom IP Update URL
If you still have questions on the configuration, you may refer to the IP Update Protocol page or contact support.
1. Create a directory to put the files into.
cd ~
mkdir dynudns
cd dynudns
2. Create a dynu.sh script with the command to update the IP address. For security reasons, you should use the MD5 hash of your password. If you use the regular password, please be sure to URL encode any special characters in the password.
vi dynu.sh
echo url="https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD" | curl -k -o ~/dynudns/dynu.log -K -
3. Make dynu.sh executable.
chmod 700 dynu.sh
4. Use a cron job to make the script run every 5 minutes.
crontab -e
Add the following to the bottom of the crontab:
*/5 * * * * ~/dynudns/dynu.sh >/dev/null 2>&1
Dynu Custom IP Update URL
Update one domain name
Non SSL:
http://api.dynu.com/nic/update?hostname=example.dynu.com&password=PASSWORD
SSL Format:
https://api.dynu.com/nic/update?hostname=example.dynu.com&password=PASSWORD
Update all domains in your account
Non SSL:
http://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD
SSL Format:
https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD
Update an alias
Non SSL:
http://api.dynu.com/nic/update?hostname=example.dynu.com&alias=Alias&password=PASSWORD
SSL Format:
https://api.dynu.com/nic/update?hostname=example.dynu.com&alias=Alias&password=PASSWORD
Update all domains in your account
Update an alias
If you still have questions on the configuration, you may refer to the IP Update Protocol page or contact support.
Custom
A1 Hybrid Box
Apple Airport
Arris
Bintec
BT Smart Hub
Cisco Router
DD-WRT
D-Link DSR-250N
Dovado
DrayTek
E-Lins
Express VPN
HUAWEI HG 533/520v
HG8245/8045/8346M
FreeNAS
Fritzbox
IC Realtime
Maxis AC1200
Mikrotik
MultiTech
MOFI4500
Ooredoo
Open Wrt
OPNsense
pfSense
pfSense (IPv6)
QNAP
Raspberry Pi
Sagemcom
Synology NAS
Technicolor TG582n
Technicolor TG588
Technicolor TG789
TELTONIKA
Thomson TG585v7
Tomato USB
Tilgin
TP-Link ER605
TrueNAS
Ubiquiti EdgeRouter
WatchGuard Firebox
Windtre
ZTE
ZyWALL-USG50
Zyxel 5501
Zyxel-C1100Z
Zyxel VMG3925
Zyxel VMG3927-T50K