OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: OPNDeciso on June 27, 2023, 06:20:55 PM

Title: os-ddclient 1.13_2 GoDaddy IPv6 Setup
Post by: OPNDeciso on June 27, 2023, 06:20:55 PM
Would someone please point me to information on setting up GoDaddy IPv6 in os-ddclient 1.13?

I have GoDaddy IPv6 working in os-dyndns 1.27.

Is there a os-ddclient Dashboard Widget?
Title: Re: os-ddclient 1.13_2 GoDaddy IPv6 Setup
Post by: OPNDeciso on September 05, 2023, 07:11:10 PM
In ddclient 1.15 do I select one of these services, or am I not in the ballpark?
Title: Re: os-ddclient 1.13_2 GoDaddy IPv6 Setup
Post by: OPNDeciso on November 17, 2023, 05:55:31 PM
Uninstalled ddclient. Also uninstalled NUT. No widget and NUT didn't want to play nice with my APC UPS.

I mostly use pfSense in my home lab anyway.
Title: Re: os-ddclient 1.13_2 GoDaddy IPv6 Setup
Post by: OPNDeciso on November 25, 2023, 05:24:28 PM
Reinstalled ddclient. Got IPv4 working with my GoDaddy API. Still no idea how to get IPv6 (AAAA record) working. Here's info from the logs.

No mention of AAAA. IPv6 in one line:
WARNING: 'if-skip' is deprecated and does nothing for IPv6

SUCCESS: MyZone.mine.org -- Updated successfully to XXX.XXX.XXX.XXX (status: 200).

SENDING: data="[{\"name\":\"MyZone\",\"type\":\"A\",\"data\":\"XXX.XXX.XXX.XXX\",\"ttl\":600}]"   
SENDING: header="Authorization: sso-key MySSOKey"   
SENDING: header="Accept: application/json"   
SENDING: header="Content-Type: application/json"   
SENDING: url="https://api.godaddy.com/v1/domains/mine.org/records/A/MyZone"
SENDING: request=PUT   
SENDING: max-time=120   
SENDING: connect-timeout=120   
SENDING: user-agent="ddclient/3.11.1"   
SENDING: include   
SENDING: silent   
SENDING: Curl system cmd to https://api.godaddy.com
Title: Re: os-ddclient 1.13_2 GoDaddy IPv6 Setup
Post by: meyergru on November 25, 2023, 06:04:29 PM
So you already found out how to use the Godaddy Domains API via a custom PUT request.

When you read the docs (https://developer.godaddy.com/doc/endpoint/domains#/v1/recordReplaceType), you can see that you can also send an AAAA DNS type request instead of A with an IPv6.

But that is the tricky part: What is your IPv6? I do not see if / how Godaddy supports stripping the prefix from an IPv6 address. Currently, there is no way to do that on OpnSense.

So, regardless of the checkip method, you will end up with your WAN IPv6, which you probably do not want, see here (https://forum.opnsense.org/index.php?topic=37155.0).

At least Godaddy seems to allow you to specify A and AAAA records for the same name in separate requests without purging the other type.