dnscontrol/models
Tom Limoncelli f7c145a54c
BUGFIX: Multiple bugs in RP (RecordConfig v2) (#3931)
# Issue

Fixes https://github.com/StackExchange/dnscontrol/issues/3918

New "modern" types like RP had multiple bugs:
* When RP() has an error (for example, wrong # of arguments) no error
was printed.
* DefaultTTL() was ignored.
* FQDNs listed in RP() not properly checked to verify the are part of
the D()/D_EXTEND() domain.
* REFACTOR: Implement "double domain" checking and the skip_fqdn_check
override (instead of in validate.go).
* REFACTOR: Always list "names" as Raw, then ASCII, then Unicode.
* REFACTOR: Generate domain DisplayName once, use many places

# Resolution

Fixed and test-cases added to prevent regressions.
2025-12-18 07:00:38 -05:00
..
dns.go BUGFIX: IDN support is broken for domain names (#3845) 2025-11-29 12:17:44 -05:00
dns_test.go REFACTOR: export models func downcase() (#2207) 2023-03-21 22:11:25 -07:00
dnsrr.go NEW FEATURE: Add SMIMEA support for BIND and deSEC (#3786) 2025-10-10 11:16:13 -04:00
domain.go BUGFIX: Multiple bugs in RP (RecordConfig v2) (#3931) 2025-12-18 07:00:38 -05:00
provider.go Bugfix: Providers with batched updates might not report the correct number of changes (#3108) 2024-09-16 12:20:30 -04:00
quotes.go REFACTOR: Opinion: TXT records are one long string (#2631) 2023-12-04 17:45:25 -05:00
quotes_test.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
rawrecord.go REFACTOR: BIND/GANDI_V5 add "RP" record type, rewrite CLOUDFLAREAPI CF_* and more (#3886) 2025-12-04 16:42:20 -05:00
record.go BUGFIX: Multiple bugs in RP (RecordConfig v2) (#3931) 2025-12-18 07:00:38 -05:00
record_test.go BUGFIX: Multiple bugs in RP (RecordConfig v2) (#3931) 2025-12-18 07:00:38 -05:00
recorddb.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
recordtype.go refactor(RecordConfig): Use ChangeType() instead of assignment (#3441) 2025-02-18 14:01:34 -05:00
t_caa.go BUGFIX: IDN support is broken for domain names (#3845) 2025-11-29 12:17:44 -05:00
t_dnskey.go NEW RECORD TYPE: DNSKEY (#2917) 2024-04-22 09:54:12 -04:00
t_ds.go
t_loc.go REFACTOR: Run moderize -fix (#3908) 2025-12-09 14:23:26 -05:00
t_mx.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_naptr.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_parse.go AKAMAIEDGEDNS: Add ALIAS and AKAMAITLC support to the Akamai Edge DNS provider (#3836) 2025-11-14 09:48:42 -05:00
t_smimea.go NEW FEATURE: Add SMIMEA support for BIND and deSEC (#3786) 2025-10-10 11:16:13 -04:00
t_soa.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_srv.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_sshfp.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_svcb.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_tlsa.go CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
t_txt.go POWERDNS: New record type: LUA (#3815) 2025-11-03 11:32:28 -05:00
target.go AKAMAIEDGEDNS: Add ALIAS and AKAMAITLC support to the Akamai Edge DNS provider (#3836) 2025-11-14 09:48:42 -05:00
tdwarn.go
tonameservers_test.go CHORE: Linting (#1704) 2022-08-14 20:46:56 -04:00
unknown.go CHORE: Linting and comment-fixing (#2937) 2024-05-07 14:47:28 -04:00
unmanaged.go deadcode: DebugUnmanagedConfig 2024-03-03 15:42:49 -05:00