-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ddns-scripts: use ip_network as default for bind_network #13182
Comments
Investigating further, the local address seems to be correctly determined, the remote (DNS lookup) address is incorrect since the update request seems to be using a different source address and not the ip_network. |
The "wget-ssl" command doesn't seem to be getting called with the "--bind-address" argument since $bind_network is empty. Investigating further to determine if it's just a configuration issue. |
The It's not clear where/when/how that is/was expected to be populated, but I'll look further and see if I can come up with a patch. |
Ok, in reviewing the UCI documentation for ddns I see that the I'll retitle the issue to request that if |
Fixes: openwrt#13182 on https://github.com/openwrt/packages Signed-off-by: Joel Johnson <mrjoel@lixil.net>
Fixes: openwrt#13182 on https://github.com/openwrt/packages Signed-off-by: Joel Johnson <mrjoel@lixil.net>
Environment: OpenWrt current snapshot
I'm running into an issue where the incorrect IPv6 address is used for comparison when determining whether an update is needed.
The DNS API service used autodetects the IPv6 address from the source address of the request, which ends up being the address assigned to wan6 (br-wan). This all works as expected, using
use_ipv6
andforce_ipversion
.The issue is that on every check interval, the DNS lookup is made (and gets the correctly submitted WAN address), however it is compared against the LAN IPv6 interface address instead of the wan6 address. As a result it doesn't match and thinks an update is needed.
What may be confusing things is that I have multiple networks (LAN and Guest), so have the
wan6
network interface in/etc/config/network
configured withoption reqprefix '60'
in order to obtain a larger prefix delegation to assign a /64 to each of the local networks.A sanitized version of the UCI service config is:
The text was updated successfully, but these errors were encountered: