Google Domains IPV6 DDNS

Every time I update my ddns for my google domain, it only updates the IPV4 address. Since I’m behind a CGNAT, that doesn’t do anything for me. How do I update Google Domains DDNS with my ipv6 address instead?

Currently, I’m using a curl command to do it thusly:

curl https://USERNAME:PASSWORD@domains.google.com/nic/update?hostname=my.fakedomain.com

So how can I have it register with my IPV6 address only?

Hi,

something you would need to check with Google. According API docs, you would need to specify myip value on the update url

The IP address to which the host is set. If not supplied, we use the IP of the agent that sent the request.
Important: If your agent uses an IPv6 address, myip is required. You can check your agent’s IP address at: > https://domains.google.com/checkip> .

https://support.google.com/domains/answer/6147083?hl=en#zippy=%2Cset-up-a-client-program-on-your-gateway-host-or-server%2Cuse-the-api-to-update-your-dynamic-dns-record

I did some research for you and found following script https://gist.github.com/cyrusboadway/5a7b715665f33c237996

I found that as well and still couldn’t get it working.

It’s been about 2 hours now… and I just realized my ipv6 was down for my network due to something else i was working on earlier.

:facepalm:

did you specified myip with your current IPv6 address?