Commit graph

26 commits

Author SHA1 Message Date
Tom Limoncelli
1b2f5d4d34
BUGFIX: IDN support is broken for domain names (#3845)
# Issue

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

CC @das7pad

# Resolution

Convert domain.Name to IDN earlier in the pipeline. Hack the --domains
processing to convert everything to IDN.

* Domain names are now stored 3 ways: The original input from
dnsconfig.js, canonical IDN format (`xn--...`), and Unicode format. All
are downcased. Providers that haven't been updated will receive the IDN
format instead of the original input format. This might break some
providers but only for users with unicode in their D("domain.tld").
PLEASE TEST YOUR PROVIDER.
* BIND filename formatting options have been added to access the new
formats.

# Breaking changes

* BIND zonefiles may change. The default used the name input in the D()
statement. It now defaults to the IDN name + "!tag" if there is a tag.
* Providers that are not IDN-aware may break (hopefully only if they
weren't processing IDN already)

---------

Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
2025-11-29 12:17:44 -05:00
Jakob Ackermann
3bf0c5a318
Remove unused --depopulate flag (#3843) 2025-11-21 09:29:47 -05:00
Kevin Neufeld
9d4cb301f3
feat(report): --report output now includes detailed list of changes (#3835) 2025-11-13 13:16:32 -05:00
Elvis Ratzlaff
a1e74eb11f
POWERDNS: Zone creation now abides by variant tags (#3830) 2025-11-05 09:33:47 -05:00
Tom Limoncelli
850a2bdc07
FEATURE: "--cmax n" limits preview/push concurrency to n connections (#3764) 2025-09-15 09:57:28 -04:00
Tom Limoncelli
74f2005ee7
The --populate-on-preview flag now defaults to false, which is safer (POSSIBLE BREAKING CHANGE) (#3693) 2025-07-28 10:54:05 -04:00
Gabe Van Engel
30fedaa38c
BUG: Improve error handling during zone population and gathering (#3694) 2025-07-28 10:53:27 -04:00
Tom Limoncelli
874ba798d4
REFACTOR: Rename commands/zonecache.go (#3646) 2025-06-30 16:16:58 -04:00
Hamish Moffatt
919ce24769
BUG: Fix --notify on preview and on error (#3616) 2025-06-13 11:12:32 -04:00
Hamish Moffatt
d042b3edf7
FEATURE: --notify now makes errors visible to make debugging easier (#3614) 2025-06-12 10:03:46 -04:00
Eli Heady
48c99f7065
Improve tagged domain handling in support of Split Horizon feature (#3444)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2025-02-25 12:27:24 -05:00
Tom Limoncelli
304515d137
FEATURE: Remove ppreview/ppush and cmode=legacy (#3412)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2025-02-05 15:25:30 -05:00
Jakob Ackermann
f264047633
BUG: create zones on push regardless of --populate-on-preview=false (#3402) 2025-01-27 10:28:25 -05:00
Jakob Ackermann
556926a2f7
BUG: Create zones ahead of gathering data (#3337)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2025-01-14 17:02:05 -05:00
Tom Limoncelli
5dbe5e84c9
CHORE: Fix lint warnings from golangci-lint (#3311) 2025-01-13 11:33:12 -05:00
Tom Limoncelli
a7e83de93d
BIND: Allow use in cmode=concurrent (#3254) 2024-12-17 07:42:04 -05:00
Tom Limoncelli
43579505ff
BUGFIX: push not running concurrently (#3249) 2024-12-13 08:35:12 -05:00
Tom Limoncelli
e2cf886326
DEFAULT CHANGE: --cmode now defaults to concurrent (#3238) 2024-12-12 14:37:12 -05:00
Tom Limoncelli
16a99a1ddb
CHORE: Add deprecation messages to preview/push/ppreview/ppush commands (#3155)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2024-10-16 10:21:18 -04:00
Tom Limoncelli
bbc6892101
FEATURE: enable --report for preview (not just push) (#3149)
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2024-10-10 09:55:37 -04:00
Tom Limoncelli
c6e956aa43
Revert "FEATURE: parallel preview/push is now default (#3132)" (#3144) 2024-10-04 15:45:10 -04:00
Tom Limoncelli
0f08087978
FEATURE: parallel preview/push is now default (#3132) 2024-09-26 13:09:13 -04:00
Tom Limoncelli
06ba3cce77
Bugfix: Providers with batched updates might not report the correct number of changes (#3108) 2024-09-16 12:20:30 -04:00
Tom Limoncelli
6817e08baa
BUG: "ppreview --expect-no-changes" returns error for "informational" messages (#2936) 2024-05-07 14:14:20 -04:00
Tom Limoncelli
1d96981e11
NEW FEATURE: Add RFC4183 support to REV() (#2879)
Co-authored-by: Thomas Misilo <tmisilo@ksu.edu>
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
2024-04-03 16:01:55 -04:00
Tom Limoncelli
68c5e87c89
NEW FEATURE: Gather data for providers concurrently (#2873) 2024-03-27 13:54:36 -04:00