Skip to content

dns/ddclient: add bunny.net DNS provider - #5609

Open
teoulas wants to merge 1 commit into
opnsense:masterfrom
teoulas:dns/ddclient-bunny
Open

dns/ddclient: add bunny.net DNS provider#5609
teoulas wants to merge 1 commit into
opnsense:masterfrom
teoulas:dns/ddclient-bunny

Conversation

@teoulas

@teoulas teoulas commented Aug 6, 2026

Copy link
Copy Markdown
  • I have read the contributing guidelines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md

  • I opened an issue first for non-trivial changes and linked it below.

  • AI tools were used to create at least part of the code submitted herewith.

  • Model used: OpenAI GPT-5.6 Sol (gpt-5.6-sol) via pi

  • Extent of AI involvement: AI assistance was used to inspect existing provider patterns and the official bunny.net OpenAPI specification, draft the provider and UI changes, and create mocked verification steps. I manually queried the live bunny.net API, reviewed the implementation, deployed it to OPNsense, and verified that it successfully updated an actual DNS record.


Describe the problem

As mentioned in the linked issue - you can't update DNS records with the existing "custom" service. Bunny.net API requires passing the API key in a request header and the IP in the JSON request body.


Describe the proposed solution

Re-use the existing form fields:

  • Zone: bunny.net DNS zone domain
  • Password: bunny.net API access key
  • Hostname(s): full FQDNs to update

Use the API to discover the zone id and existing records. Update the records matching the ones configured in the UI.

API doc: https://core-api-public-docs.b-cdn.net/docs/v3/public.json

Related issue

#5608

Screenshots

(ignore the red validation error - I initially forgot to set the interface 🙃 )

pi-clipboard-560d77ba-898f-41dd-8ed0-cc03e8338a9d pi-clipboard-6b13db6c-6f9e-4486-8987-1879caeae24a

@teoulas
teoulas force-pushed the dns/ddclient-bunny branch from 1b15202 to 30e676e Compare August 6, 2026 17:54
@teoulas
teoulas force-pushed the dns/ddclient-bunny branch from 30e676e to cdd9458 Compare August 6, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant