dynamic-dns-netcup-api icon indicating copy to clipboard operation
dynamic-dns-netcup-api copied to clipboard

Add option to specify custom IP addresses & add option to disable IPv4

Open marhmm opened this issue 3 years ago • 2 comments

Add option to specify a custom IP address as parameter. Can be useful if script is running inside Docker container or you want to read IP address from different sources (for example "ip addr" command with IPv6)

Additionally added option to disable IPv4 if not needed (DS-Lite connection).

Example call with parameter: ./update.php -IPv4 "x.x.x.x" -IPv6 "x:x:x:x:x:x:x:x"

marhmm avatar Apr 03 '22 18:04 marhmm

Hallo @stecklars to disable IPv4 is really nice option. My German ISP for example only provide a direct IPv6 access. So only the AAAA record make since for my. Please take this improvement into your codebase. :-)

Have a nice day

geopossachs avatar Jul 09 '22 10:07 geopossachs

same here, from my provider i only get public ipv6 addresses and ipv4 cg-nat, that isn't reachable from the internet, so an A-record doesn't make any sense...

bohrsty avatar Sep 17 '22 10:09 bohrsty

https://github.com/steffenweb/dynamic-dns-netcup-api

steffenweb avatar Nov 23 '22 17:11 steffenweb

Hi all,

This is now a new feature in version 4.0 of the script: https://github.com/stecklars/dynamic-dns-netcup-api/releases/tag/v4.0

I have used your pull request as an inspiration for some of my changes, so thank you a lot :) Unfortunately, I cannot find the time to review pull requests currently. For this reason, I have now also released contributing guidelines which state this. Sorry, that I was not able to merge this at this time. I appreciate your work on this.

stecklars avatar Jan 06 '23 09:01 stecklars