Skip to content

ns1: Modernize record conversion#4570

Merged
TomOnTime merged 3 commits into
release_candidate_v5from
mod_ns1
Jul 23, 2026
Merged

ns1: Modernize record conversion#4570
TomOnTime merged 3 commits into
release_candidate_v5from
mod_ns1

Conversation

@TomOnTime

Copy link
Copy Markdown
Collaborator

Dear @costasd. I could use your help. I'm doing upgrades to the code base and I have no way to test your provider. Please run the integration test and let me know the result. How to run integration tests is here: https://docs.dnscontrol.org/developer-info/integration-tests

Summary

  • build NS1 answers with modern record factories
  • precompute labels and TTLs shared across record-type branches
  • preserve DNSSEC, redirect, and NAPTR handling

Validation

  • ../../bin/is_modern.sh (Steps 1-7 clean)
  • go test ./providers/ns1
  • bin/generate-all.sh
  • go test ./...

@costasd

costasd commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

👋 couple fixes in #4593 !

* NS1: handle TXT not returned as RFC1035-quoted

* NS1: handle NAPTR format correctly

... by copying over models.naptrAssureQuotedFields that was used by the
legacy parser.

* NS1: add some tests for TXT and NAPTR

due to their fragile handling.
@TomOnTime
TomOnTime marked this pull request as ready for review July 23, 2026 02:23
@TomOnTime
TomOnTime merged commit 40ad888 into release_candidate_v5 Jul 23, 2026
40 of 43 checks passed
@TomOnTime
TomOnTime deleted the mod_ns1 branch July 23, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants