Provider ipv64.net: it's not possible to use the default `check-server` set for ipv4@ipv64.net to get an update of the `A` record.
hrzlgnm opened this issue · 4 comments
The code in that the retrieves the ip
Line 139 in da1d1af
ifconfig.me
defined in Line 53 in da1d1af
ipv6
is enforced, due to the name ipv64.net
containing ipv6
.
This leads to an issue, that a definition like the following one:
provider ipv4@ipv64.net {
username = <REDACTED>
password = none
hostname = <REDACTED>
}
tries to update the ipv4 record using the retrieved ipv6 address.
I'm currently using the following workaround:
provider ipv4@ipv64.net {
...
checkip-command = "/usr/bin/curl -s -4 https://ifconfig.me/ip"
}
There are more constructs like the mentioned above.
inadyn/plugins/core-networks.c
Line 55 in da1d1af
Line 228 in da1d1af
Line 252 in da1d1af
Line 72 in da1d1af
Line 103 in da1d1af
Line 172 in da1d1af
Line 76 in da1d1af
Line 621 in da1d1af
Edit: make links to code permalinks
I'm also happy to tackle this, if i get some hints how to approach this properly.
Unfortunately I have no time to guide anyone at the moment, but I'll do my best to review PRs (provided they are small and logical change sets).
Fair enough, I'll give it a shot with checking that the provider name starts with "ipv6" instead of containing it.