[USG Flex H - V1.39(ABZH.0)ITS-260800686] - User Custom DDNS effective IP not appear

Options
1235

All Replies

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

    No isn't fixed for auto, the fix is relative about the problem with Dynu Basic username:

    So, for update the Dynu DDNS you need to switch on "User custom" and use the API to refresh the IP.

    Now, with this weekly update, the Dynu Basic configuration is fixed, and you be able to use this configuration that manage better the IP (as you can see).
    I don't retry with User Custom because now the Dynu Basic works.

  • PeterUK
    PeterUK Posts: 4,696 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    edited August 27
    Options

    Dynu Basic works because from interface is not the same as auto with from interface there is no need to look at the good IP because it just displays the IP the interface has.

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

    I revert to User Custom and seems not work

    image.png
  • Maverick87
    Maverick87 Posts: 364 image  Master Member
    Zyxel Certified Network Administrator - WLAN Zyxel Certified Network Administrator - Nebula Zyxel Certified Network Administrator - Security Zyxel Certified Sales Associate
    Options

    Anyway…. why is auto-detected if I still use an interface?

    image.png
  • PeterUK
    PeterUK Posts: 4,696 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Options

    Not the same thing the "Primary address" is where DDNS sends traffic out the "IP address" is the method for how the IP is checked to be updated.

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

    Is not make sense, also because you have a backup interface, but OK :)

    So, If I sends traffic out via an Interface, I expect that the IP Address is the IP of the interface itself.

    The right sense for me, is how it behaves when I choose a service. It lets me choose the interface and asks me if the IP I want to send is that of the interface itself or another one.

    So… in this sense, what is the difference between:

    • Interface → from interface
    • Interface → auto

    If I have a backup interface, I can select it and if the primary interface is not available the IP address sent is the backup interface IP.

  • PeterUK
    PeterUK Posts: 4,696 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    edited August 27
    Options

    Why not ask about Public IP too

    Interface → from interface
    On boot the interface get a IP then DDNS from interface updates DDNS where your interface IP changes then DDNS happens again as its from interface for the interface IP it just show that IP for effective IP.

    Interface → auto
    On boot the interface get a IP then DDNS auto updates DDNS the effective IP display it by the DDNS traffic reply good IP if interface IP changes then DDNS happens again effective IP display it by the DDNS traffic reply good IP.

    Interface → Public IP
    On boot you could have a static LAN IP that never changes like CGNAT where your WAN IP changes On boot the Checking Public IP URL like http://ip1.dynupdate.no-ip.com/ is checked and stored then DDNS updates the effective IP display it by the DDNS traffic reply good IP now every like Minutes 5 the Checking Public IP URL is checked if the IP is different to what is stored then DDNS updates the effective IP display it by the DDNS traffic reply good IP .

    From what I can tell

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

    OK now understand, thank you for the explanation.

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

    This is the response from Dynu, after I ask to improve the nochg message with the IP.

    Hello,

    Thank you for choosing Dynu!

    We regret to inform you that the 'nochg' return code does not contain
    the IP address. The IP address cannot be returned with the 'nochg'
    because changing this behavior would break compibility with countless
    existing routers, devices, and scripts that rely on this standard
    response format.

    We recommend that you use the advanced REST API using which you can get
    the details of the record including IP address and then perform update
    as needed. You can obtain the API-Key to use the API in the Control
    Panel.

    https://www.dynu.com/Support/API

    The endpoints of interest for your your use case would be below:

    GET /dns
    GET /dns/{id}/record
    GET /dns/{id}/record/{recordId}
    POST /dns/{id}/record/{recordId}

    So, from Dynu nothing! But with the fix, we have already resolved the issue.

    Thank you

  • PeterUK
    PeterUK Posts: 4,696 image  Guru Member
    250 Answers 2500 Comments Friend Collector Eighth Anniversary
    Options

    I think the bit about

    The IP address cannot be returned with the 'nochg'
    because changing this behavior would break compibility with countless
    existing routers, devices, and scripts that rely on this standard
    response format.

    Is a bit of a lie because how would always reply with good IP cause a problem if the IP in good has not changed then it has not changed it would just update the same IP unless changed.