Skip to content

Conversation

@jhf
Copy link

@jhf jhf commented Jan 14, 2026

Summary

Upgrades libdns/namedotcom to work with libdns v1.1.1 (addresses #3)

Changes

  • Upgrade from libdns v0.2.2 to v1.1.1
  • Update to use new Record interface and type-specific records (Address, TXT, CNAME, SRV, CAA)
  • Update test suite to work with new Record interface
  • Bump Go version to 1.25

Credits

Based on the work by @ykarachev in his upgrade PR. Fixed test suite for compatibility with Record interface.

Testing

  • ✅ Package compiles
  • ✅ Tests compile (require environment variables to run)

Resolves #3
Enables: caddy-dns/namedotcom#5

ykarachev and others added 2 commits January 14, 2026 11:02
- Remove manual ID assignment (handled automatically by getRecordId)
- Simplify tests to work with Record interface
- Tests now compile and are ready for libdns v1.1.1
@jhf jhf changed the title Upgrade to libdns v1.1.1 Upgrade to libdns v1.1.1 and adjust tests Jan 14, 2026
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.

Upgrade to libdns 1.0 (currently in beta)

2 participants