Hi! Thanks for this great project (and service). This issue is actually only for documentation purposes. Maybe there could be a place (in readme or wiki) for additional ddns client configuration docs.
I'm using OpenWRT for my router and wanted to update WAN IP on pboehm/ddns service as soon as possible and to avoid running cron job every X minutes to check if IP changed.
After some research I've found in OpenWRT forums those two relevant topics:
Basically what you have to do is:
- Make sure you have wget with SSL support
opkg install wget ca-certificates
- Create a file
/etc/udhcpc.user with following contents
#!/bin/sh
if [ "wan" = $INTERFACE ]; then
logger "$INTERFACE - $interface - $J_T5_source"
/usr/bin/wget -q -O - 'https://ddns.pboehm.de/update/[HOST]/[TOKEN]?myip='${ip}''
fi
exit 0
- Make it executable
chmod +x /etc/udhcpc.user
That's it!
Hi! Thanks for this great project (and service). This issue is actually only for documentation purposes. Maybe there could be a place (in readme or wiki) for additional ddns client configuration docs.
I'm using OpenWRT for my router and wanted to update WAN IP on pboehm/ddns service as soon as possible and to avoid running cron job every X minutes to check if IP changed.
After some research I've found in OpenWRT forums those two relevant topics:
Basically what you have to do is:
opkg install wget ca-certificates/etc/udhcpc.userwith following contentschmod +x /etc/udhcpc.userThat's it!