Skip to content

feat: add ip6 parameter for dual-stack IPv4/IPv6 updates#207

Merged
willswire merged 1 commit intomainfrom
feat/ipv6-dual-stack
Mar 4, 2026
Merged

feat: add ip6 parameter for dual-stack IPv4/IPv6 updates#207
willswire merged 1 commit intomainfrom
feat/ipv6-dual-stack

Conversation

@willswire
Copy link
Owner

@willswire willswire commented Mar 4, 2026

Adds an optional ip6 query parameter so UniFi devices on dual-stack networks can update both the A record (via ip) and the AAAA record (via ip6) in a single request. The update function now accepts an array of records and shares the token verification and zone lookup across all updates.

Closes #[IPv6 AAAA record updates issue]

Changes

Checklist

  • I have performed a self-review of my code
  • If it is a new feature, I have added thorough tests.

Closes #181

Adds an optional `ip6` query parameter so UniFi devices on dual-stack
networks can update both the A record (via `ip`) and the AAAA record
(via `ip6`) in a single request. The `update` function now accepts an
array of records and shares the token verification and zone lookup
across all updates.

Closes #[IPv6 AAAA record updates issue]

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% 65 / 65
🔵 Statements 100% 65 / 65
🔵 Functions 100% 5 / 5
🔵 Branches 100% 44 / 44
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/index.ts 100% 100% 100% 100%
Generated in workflow #107 for commit 2a31104 by the Vitest Coverage Report Action

@willswire willswire merged commit d7f1fd3 into main Mar 4, 2026
4 checks passed
@willswire willswire deleted the feat/ipv6-dual-stack branch March 4, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request support for IPv6 AAAA record updates

1 participant