1
24.1 Legacy Series / Re: Dynamic DNS for Porkbun
« on: October 20, 2024, 06:43:14 pm »
Faced this task today—surprisingly, ddclient hasn’t failed me despite doubts.
@barometer, thanks for the tip: "check ip" set to "interface" and backend to "ddclient." You might also be right about it only updating, not creating, A-records.
@lost_ones, your approach with API/secret keys is correct. Might wanna try creating an A-record beforehand (see below) but you probably figured it out anyway by now.
My working config (relevant parts):
OPNsense:
- Username: API key
- Password: Secret
- Check IP method: Interface
- Hostname: subdomain.domain.tld (haven't tried multiple subdomains)
Porkbun:
- A-record for subdomain. Had one there beforehand, so unsure if it also works without.
Applied settings, checked Porkbun—A-record updated with external IP instantly. Quick!
edit:
Confirmed that it doesnt work with multiple subdomain (i.e. example.domain.tld works but example.example.domain.tld doesn't) and also that an a-record with the same name/host has to be created beforehand
@barometer, thanks for the tip: "check ip" set to "interface" and backend to "ddclient." You might also be right about it only updating, not creating, A-records.
@lost_ones, your approach with API/secret keys is correct. Might wanna try creating an A-record beforehand (see below) but you probably figured it out anyway by now.
My working config (relevant parts):
OPNsense:
- Username: API key
- Password: Secret
- Check IP method: Interface
- Hostname: subdomain.domain.tld (haven't tried multiple subdomains)
Porkbun:
- A-record for subdomain. Had one there beforehand, so unsure if it also works without.
Applied settings, checked Porkbun—A-record updated with external IP instantly. Quick!
edit:
Confirmed that it doesnt work with multiple subdomain (i.e. example.domain.tld works but example.example.domain.tld doesn't) and also that an a-record with the same name/host has to be created beforehand