[USG Flex H] - DDNS public IP - decrease minimum check period

Options
Maverick87
Maverick87 Posts: 451
Zyxel Certified Network Administrator - WLAN Zyxel Certified Network Administrator - Nebula Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate
image  Master Member

Hello,
I would like to decreare the minimum check period for a public check URL.

Until now, the minimum is fixed to 5 minutes; this can be a problem, because, if the WAN IP change, the DDNS can check a public URL to know the new IP, in the worst-case scenario, only after 5 mins after the change.

Is possible to change this behaviou, via CLI as work-around and then implement a "per second" modification?

image.png

Thank you

Accepted Solution

All Replies

  • Zyxel_Judy
    Zyxel_Judy Posts: 2,762
    Zyxel Certified Network Engineer Level 2 - Nebula Zyxel Certified Network Engineer Level 2 - Switch Zyxel Certified Network Engineer Level 2 - Security Zyxel Certified Network Engineer Level 1 - Nebula
    image  Zyxel Employee
    Answer ✓
    Options

    Hi @Maverick87 ,

    Thank you for the suggestion. We're evaluating lowering the minimum DDNS Check Period from 5 minutes to 1 minute as a feature request. The idea post here:

    [USG FLEX H] Allow DDNS Check Period lower than 5 minutes (e.g. 1 minute) — Zyxel Community

    The reason 1 minute is being considered as the new floor (rather than per-second) is that most DDNS providers cap their record TTL around 60 seconds, so checking much faster than that is unlikely to bring a noticeable benefit on the DNS resolution side.

    Zyxel_Judy

  • Maverick87
    Maverick87 Posts: 451
    Zyxel Certified Network Administrator - WLAN Zyxel Certified Network Administrator - Nebula Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate
    image  Master Member
    edited October 5
    Options

    Hi @Zyxel_Judy,
    In my opinion decrease to seconds it's only for "observe" if the IP is changed, not for update "as-is".

    For example: if I set "10 seconds" into the field; every 10 seconds I check the URL page that return to me the external IP. Then, I compare this returned IP with the external effective IP; if is not changed do nothing, if is changed, update the DDNS.

    The field is only to trigger a check, not for update really. Presumibly I can would check the change every 10 seconds, but can be possible that the effective external IP never change or change 1-2 per day.

    Do you think this is feasible? Does that line of reasoning make sense to you?

  • Zyxel_Judy
    Zyxel_Judy Posts: 2,762
    Zyxel Certified Network Engineer Level 2 - Nebula Zyxel Certified Network Engineer Level 2 - Switch Zyxel Certified Network Engineer Level 2 - Security Zyxel Certified Network Engineer Level 1 - Nebula
    image  Zyxel Employee
    Options

    Hi @Maverick87 ,

    As you understand this field only triggers a check of the public IP URL, and that the DDNS record is updated only when the IP actually changes.
    However, based on our evaluation of the current product architecture, a 1-minute as minimum check interval is the option we believe has the best chance of being achieved.

    Zyxel_Judy

  • Maverick87
    Maverick87 Posts: 451
    Zyxel Certified Network Administrator - WLAN Zyxel Certified Network Administrator - Nebula Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate
    image  Master Member
    edited October 7
    Options

    Hi @Zyxel_Judy,

    Yes, only for trigger a DDNS Update. However, if you increase the checking period (as for example, 1 minute), if the IP change, you trigger the update, in the worst case, only after 1 minute, a big time if you need to use the DDNS immediately.

    Instead, if your trigger allow less than minute, you could have, as a best scenario, a "near real-time" DDNS change.

    For example, when you use as trigger the interface WAN IP, when the WAN IP change, the trigger is immediately (for example: if you disconnect and reconnect a PPPoE, when you reconnect it and the IP change, the DDNS update is triggered in real-time as when the PPPoE is up&running).

  • Zyxel_Judy
    Zyxel_Judy Posts: 2,762
    Zyxel Certified Network Engineer Level 2 - Nebula Zyxel Certified Network Engineer Level 2 - Switch Zyxel Certified Network Engineer Level 2 - Security Zyxel Certified Network Engineer Level 1 - Nebula
    image  Zyxel Employee
    Options

    Hi @Maverick87 ,

    We understand that if the "Checking Public IP URL" polling happened on a per-second basis, and aligned with how often DDNS providers actually refresh their record TTL (typically around a minute), the best-case result would be a near real-time DDNS update.

    That said, as mentioned previously, based on our evaluation of the current product architecture, a 1-minute minimum check interval remains the option we believe has the best chance of being achieved.

    Zyxel_Judy

  • PeterUK
    PeterUK Posts: 4,741
    250 Answers 2500 Comments Friend Collector Ninth Anniversary
    image  Guru Member
    edited October 7
    Options

    I can see where Judy is coming from Checking Public IP URL does and does not impact or have any relation to DDNS and the TTL record however.

    Like if you go to http://ip1.dynupdate.no-ip.com/ you just see a blank page with
    92.239.74.95
    OK so far

    so here is what goes on lets say you have example.com and when ever its looked up example.com its TTL is 60 seconds

    now lets say your ISP or any 3rd party has it cached even if you do DNS lookup without cache the TTL does not reset it counts down.

    So lets say Public IP URL is checked just after the DNS cached for example.com for TTL 60 seconds and DDNS your new IP gets updated but if you do DNS lookup for example.com it will show TTL of like 40 seconds on you old IP till where you pull your DNS lookups go to 0 then gets the new IP.

    However what your thinking Maverick87 is no ISP or any 3rd party has example.com cached meaning Public IP URL is checked new IP is detected DDNS gets updated then you do a DNS lookup for example.com only then with it show the new IP for TTL 60 seconds.