1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DDNS not updating on IP change

Discussion in 'Tomato Firmware' started by gijs73, Jul 14, 2011.

  1. gijs73

    gijs73 LI Guru Member

    New issue.
    My setup:
    * WRT54GSv4 running Tomato ND 1.28 + speedmod 120, WPA2 + AES

    I have both ZoneEdit and Dyndns accounts and am looking to get the router to update for me. "Force Update" works fine and correctly changes my IP address. Also the 28 days counter is working too.

    The problem I am having is: the router is not triggering updates when my external IP changes. This happens probably once a week and knocks my website offline until I can manually get in and force an update.

    Is there a way to get stock Tomato to monitor the IP address and trigger a DDNS update on change?
     
  2. gijs73

    gijs73 LI Guru Member

    I still haven't been able to figure out a solution to this, and it's causing real headaches. I am now having my webserver (behind the router) manually force updates every day. This still isn't a good solution: in order to get the site to come back up, I have to log into the router and restart the firewall (re-save the firewall settings).

    I really expected that Tomato 1.28 would automatically track changes in IP and update the dyndns / firewall scripts accordingly. What's missing?
     
  3. kthaddock

    kthaddock Network Guru Member

    Check what your DDNS service have update time, som have 1hour if you not pay for service.
     
  4. gijs73

    gijs73 LI Guru Member

    That doesn't really have anything to do with it... my update is set at 28 days. It's supposed to automatically update if the IP changes though.
     
  5. kthaddock

    kthaddock Network Guru Member

    TTL: 4hrs Standard dynamic DNS value
    That is a common time to update your DNS. 28 Days of checking I something else.
     
  6. Toastman

    Toastman Super Moderator Staff Member Member

    My ISP renews lease every 24 hours. Dyndns updates correctly on renewal. Also if I disconnect and then reconnect, DDNS updates immediately. Not sure what the trouble might be.
     
  7. kthaddock

    kthaddock Network Guru Member

    28 days is when activity haven't discovered any IP change, then it check IP.
    Using when you have free service otherwise your account expiers.
    The fastest DDNS ip change time is on DynDns is 20sek if you pay for it otherwise is 60sek.
    If your ISP change every 10sek then it takes 60sek to DynDns to update therirs servers. ( mysite.dyndns.com)
    Now you have a hint how it works.
     
  8. Hackerivs

    Hackerivs Networkin' Nut Member

    if my isp gives me a new IP after the 24hr period, the HE-Tunnelbroker DNS does not update automatically.
     
  9. gijs73

    gijs73 LI Guru Member

    Screenshot of my configuration page is attached.

    Is there any place where I can get logs, or add hooks, when the IP changes?
     

    Attached Files:

  10. gijs73

    gijs73 LI Guru Member

    And as a followup: again, I'm using tomato 1.28 + speedmod on a wrt54gs, rev 4. That's the ND driver.

    I would be willing to go to a newer version of Tomato if it would fix this problem AND it would perform quickly enough to serve / share a 12mbps-down connection.

    EDIT: In fact, let's put this question on hold. I'm going to upgrade to TomatoUSB build 54 (noUSB + VPN) this evening and we'll see how things look after that.
     

Share This Page