What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Custom DDNS fails to update on reboot

RomikB

New Around Here
I use "BIND9 DDNS using nsupdate" from https://github.com/RMerl/asuswrt-merlin/wiki/Custom-DDNS to setup my custom ddns.
Script is working if i click apply from a DDNS page, but not working on reboot because time is not synced before ddns-start script executed.
How can I force execute ddns-start script right after time sync, or sync time before ddns-start?
Please help.

Me router is ASUS RT-N16, Firmware:378.50
 
Try adding ntpclient at the start of your script, to force an immediate ntp update:

Code:
ntpclient -h time.nrc.ca

(use your favorite NTP server there)
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top