Score:0

ddclient: do not update IPv4, but just IPv6

br flag

I'm using dydns to name my servers. My provider is using CGN, therefore my IPv4 is almost useless. Updating my IPv4 does not make any sense and I want to skip/deactivate this, I just want to update my IPv6 (e.g. after a prefix update). Is there a way to achieve/configure this with ddclient?

Ron Maupin avatar
us flag
If your ISP is using CGN, then you have a residential network, and your residential terms of service forbid running services to the public Internet. You need to get a business account.
Score:1
cn flag

Assuming a sufficiently new Perl ddclient perhaps

use=if
ipv6=yes
ipv4=no

Makes use of the OS interface command to find IPs, ip on Linux, others on other platforms.

My reading of the source is that it only does one address family, I think. Disabled v4 just in case. Per the template config file, IPv6 requires newer than 3.8.1.


Or, consider using a v6 only network for some hosts. Remove all (non-loopback) v4 addresses from interfaces. Implement transition methods like DNS64/NAT64 where required to connect to IPv4 hosts.

Thomas P avatar
br flag
`usev6=ip` yields `DEBUG: get_ipv6: using ip, ip reports <undefined>`. I tried `usev6=web, web=checkipv6.dyndns.com, web-skip='IP Address'` and the website shows the correct IPv6, but the debug output says `DEBUG: get_ipv6: using web, checkipv6.dyndns.com reports <undefined>` .
John Mahowald avatar
cn flag
My mistake, ip method is static IP, as in command line option. if is probably what you want, if getting the IP of a Linux box. See edit.
Thomas P avatar
br flag
With a tiny modification to `usev6=if, if=enx...` the edit fixed it for me. Thank you.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.