Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Starkstromkonsument
Copy link
Contributor

Adoption of protocol dyndns2 to support their custom URL:

https://dyndns.inwx.com/nic/update?myip=<ipaddr>&myipv6=<ip6addr>

closes #96

Copy link
Member

@rhansen rhansen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

I pushed a handful of fixup commits. Would you please review them, test it again, and let me know if everything looks good? Feel free to make any changes.

Once I hear back I'll squash all the commits together and merge.

@Starkstromkonsument
Copy link
Contributor Author

Thanks for reviewing! Your changes look good to me. The code works, but exits with this error message:

RECEIVE: | good
FAILED:    updating test.example.org: unexpected status (HTTP/2 200 )

I'm very sorry for not noticing this in the first place. Is this why you reverted PR #702?

@rhansen
Copy link
Member

rhansen commented Jul 19, 2024

Is this why you reverted PR #702?

I reverted it because I was re-reading my changes and realized the bug. I did expect this PR to have problems—sorry for the hassle.

The output you posted in #709 (comment) is unexpected. It looks like curl is printing two HTTP responses. Are you using an HTTP proxy? If so, ddclient has another (independent) bug that affects more than just your PR.

@Starkstromkonsument
Copy link
Contributor Author

Starkstromkonsument commented Jul 19, 2024

Are you using an HTTP proxy?

Yes. Everything is fine, if i disable the proxy. I'll push the commit to apply the changes from PR 709.

Adoption of protocol dyndns2 to support their custom URL:

'https://dyndns.inwx.com/nic/update?myip=<ipaddr>&myipv6=<ip6addr>'
@rhansen rhansen force-pushed the add_INWX_support branch from 625bd0a to 83ef1fa Compare July 19, 2024 06:26
@rhansen rhansen merged commit 5ab15b1 into ddclient:master Jul 19, 2024
@rhansen
Copy link
Member

rhansen commented Jul 19, 2024

Thanks for sticking with this. I opened #710 for the proxy issue.

@BjGoCraft
Copy link

BjGoCraft commented Jun 20, 2025

Hello @Starkstromkonsument
I'm trying to use your changes to update my ipv6 address. My config looks like this:

ssl=yes \
protocol=dyndns2 \
use=if, if=eth0 \
usev6=ifv6, ifv6=eth0 \
server=dyndns.inwx.com/nic/update?myip=<ipaddr>&myipv6=<ip6addr> \

login='username', password='password' \
mySecretDomain.com

When I execute ddclient, I get the following output:

INFO:    [mySecretDomain.com]> update forced via 'force' option
INFO:    [dyndns2][mySecretDomain.com]> setting IPv4 address to 192.168.0.19
INFO:    [dyndns2][mySecretDomain.com]> setting IPv6 address to 2a02:8060:c383:b440::8307
SUCCESS: [dyndns2][mySecretDomain.com]> IPv4 address set to 192.168.0.19
SUCCESS: [dyndns2][mySecretDomain.com]> IPv6 address set to 2a02:8060:c383:b440::8307

This seems good, but when I take a look at the INWX dashboard the only thing happening is an update of the A entry to my public ipv4 IP (the on I get from my ISP). But not to 192.168.0.19 or my Ipv6 address. Unfortunately I don't find any good documentation to find out if my config is right. Could you share an example config you used with INWX and ddclient that works?
Edit: I'm using Release v4.0.0

@Starkstromkonsument
Copy link
Contributor Author

Starkstromkonsument commented Jul 3, 2025

Please change use=if, if=eth0 \ to usev4=ifv4, ifv4=eth0 \ , set protocol to inwx and try it again.

Example:

ssl=yes
usev4=ifv4, ifv4=eth0
usev6=ifv6, ifv6=eth0
protocol=inwx
login=xxx
password=xxx
xxx.example.org

@BjGoCraft
Copy link

Please change use=if, if=eth0 \ to usev4=ifv4, ifv4=eth0 \ , set protocol to inwx and try it again.

Example:

ssl=yes
usev4=ifv4, ifv4=eth0
usev6=ifv6, ifv6=eth0
protocol=inwx
login=xxx
password=xxx
xxx.example.org

Works like a charm, thank you very much 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for inwx with ipv6

3 participants