Thomas Limoncelli
4a9233d0b6
fix .NameFQDN* and other nits
2025-12-03 21:46:00 -05:00
Thomas Limoncelli
691764ee29
Merge branch 'main' into branch_allrecs
2025-12-03 20:42:10 -05:00
Tom Limoncelli
c11a523982
FEATURE: Fixing IDN support for domains ( #3879 )
...
# Issue
The previous fix had backwards compatibility issues and treated
uppercase Unicode incorrectly.
# Resolution
* Don't call strings.ToUpper() on Unicode strings. Only call it on the
output of ToASCII.
* Fix BIND's "filenameformat" to be more compatible (only breaks if you
had uppercase unicode in a domain name... which you probably didn't)
* Change IDN to ASCII in most places (Thanks for the suggestion,
@KaiSchwarz-cnic!)
* Update BIND documentation
2025-12-03 20:31:59 -05:00
Thomas Limoncelli
76dbb0ed67
working on RP
2025-12-01 14:51:34 -05:00
Thomas Limoncelli
cbbb396026
RP works FromStruct but hardcoding needs to be removed
2025-11-30 18:07:00 -05:00
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
Thomas Limoncelli
53bfdd3615
remove debug statements
2025-11-25 11:37:02 -05:00
Thomas Limoncelli
a0ec11ee60
Fix BIND
2025-11-25 11:28:41 -05:00
Thomas Limoncelli
f8334c2e86
m
2025-11-24 20:25:38 -05:00
Thomas Limoncelli
c2a64002fe
refactor(idn) IDN now works at the domain (not just label) level
2025-11-24 20:25:38 -05:00
Jan von Aschwege
a71b89e5a2
NEW FEATURE: Add SMIMEA support for BIND and deSEC ( #3786 )
2025-10-10 11:16:13 -04:00
Georg
8c8948e69a
NEW RECORD TYPE: OPENPGPKEY (basic) ( #3718 )
...
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2025-08-11 10:44:12 -04:00
Tom Limoncelli
5dbe5e84c9
CHORE: Fix lint warnings from golangci-lint ( #3311 )
2025-01-13 11:33:12 -05:00
Tom Limoncelli
a341022068
BUGFIX: IGNORE() deletes ignored records on ByZone() platforms ( #3263 )
2024-12-18 20:34:52 -05:00
Tom Limoncelli
a7e83de93d
BIND: Allow use in cmode=concurrent ( #3254 )
2024-12-17 07:42:04 -05: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
Jeffrey Cafferata
8fa1a8d7d6
BUILD: Generate OWNERS files ( #2997 )
2024-07-10 15:53:50 -04:00
Tom Limoncelli
3fd6806be0
BIND: BUGFIX: SOA serial number doesn't change if SOA() used ( #2908 )
2024-05-02 16:50:47 -04:00
Florian Ritterhoff
3a9b413175
NEW RECORD TYPE: HTTPS & SVCB ( #2919 )
...
Thanks so much for this contribution! I have a feeling that a lot of people are going to need these records soon!
2024-05-01 11:37:15 -04:00
xtex
3f05482e6b
NEW RECORD TYPE: DNSKEY ( #2917 )
...
Signed-off-by: xtex <xtexchooser@duck.com>
2024-04-22 09:54:12 -04:00
imlonghao
42125b5248
NEW RECORD TYPE: DNAME ( #2893 )
2024-04-02 14:28:57 -04:00
Tom Limoncelli
4765f402bd
FEATURE: New capability: Can provider run concurrently ( #2876 )
2024-03-20 12:36:54 -04:00
Tom Limoncelli
e52ec54453
Remove unused CantUseNOPURGE capability ( #2877 )
2024-03-18 18:30:09 -04:00
Tom Limoncelli
76d93acaf5
CHORE: Remove dead code: txtutil.SplitSingleLongTxt() and txtutil.Segment() ( #2685 )
2023-12-05 09:47:52 -05:00
Tom Limoncelli
cbccbbeb8d
REFACTOR: Opinion: TXT records are one long string ( #2631 )
...
Co-authored-by: Costas Drogos <costas.drogos@gmail.com>
Co-authored-by: imlonghao <git@imlonghao.com>
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
Co-authored-by: Vincent Hagen <blackshadev@users.noreply.github.com>
2023-12-04 17:45:25 -05:00
Tom Limoncelli
c91fe6c1c8
CHORE: Remove diff1 from codebase ( #2575 )
2023-10-22 13:56:13 -04:00
Florian Ritterhoff
3e1e7aeb8e
fix: correct order for dhcid
2023-09-10 08:09:02 +02:00
Florian Ritterhoff
1c5e038c67
add dhcid type
2023-09-10 08:09:02 +02:00
Tom Limoncelli
9741d3c527
BUG: BIND not handling long TXT records correctly ( #2447 )
2023-06-20 12:35:11 -04:00
Florian Ritterhoff
23ba49e753
BIND: reset zonefile for reading records ( #2407 )
2023-05-31 12:14:04 -04:00
Tom Limoncelli
207ed695cf
BIND: Automatically create the subdirectories leading up to zonefiles ( #2397 )
2023-05-26 13:16:20 -04:00
nemunaire
5ae231030e
Update version in go.mod ( #2382 )
2023-05-20 13:21:45 -04:00
Daniil Lemenkov
36e3595612
CHORE: Satisfy Staticcheck and remove unused code ( #2331 )
2023-05-08 16:49:26 -04:00
Tom Limoncelli
489be2e3dc
ROUTE53: fix R53_ZONE() handling for domains ( #2306 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-05-02 13:04:59 -04:00
Florian Ritterhoff
e16babb449
fix: generate file name on bind zone generation ( #2284 )
2023-04-17 10:44:10 -04:00
Tom Limoncelli
60470a3886
BUG: Some DNS zones are downloaded twice ( #2120 )
...
Signed-off-by: Amelia Aronsohn <squirrel@wearing.black>
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
Co-authored-by: Grégoire Henry <hnrgrgr@users.noreply.github.com>
Co-authored-by: Amelia Aronsohn <squirrel@wearing.black>
Co-authored-by: Kai Schwarz <kschwarz@hexonet.net>
Co-authored-by: Asif Nawaz <asif.nawaz@centralnic.com>
Co-authored-by: imlonghao <git@imlonghao.com>
Co-authored-by: Will Power <1619102+willpower232@users.noreply.github.com>
2023-04-14 15:22:23 -04:00
Tom Limoncelli
8de767b3f1
BIND: Fix SOA tests (diff2) ( #2211 )
2023-03-22 08:46:36 -07:00
Paul Dee
3b6591fd95
NEW FEATURE: Support DNS LOC record type ( #2174 )
2023-03-16 14:04:20 -04:00
Tom Limoncelli
169d7c8062
CHORE: linting ( #2098 )
2023-02-27 20:28:17 -05:00
Tom Limoncelli
fc3a217dc1
Bugfixed: NO_PURGE now works on all diff2 providers ( #2084 )
2023-02-19 12:33:08 -05:00
Jeffrey Cafferata
430568c8f8
DOCS: Replace stackexchange.github.io ( #2004 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-29 13:14:22 -05:00
Tom Limoncelli
54fc2e9ce3
NEW FEATURE: diff2: A better "diff" mechanism ( #1852 )
2022-12-11 17:28:58 -05:00
Tom Limoncelli
b0f2945510
REFACTOR: Add diff2 enable flag to all DNS providers ( #1851 )
...
This should enable the diff2 code to be inserted with good "git blame" results for new code. I'm adding this early to catch any problems early.
2022-12-11 15:02:58 -05:00
Tom Limoncelli
ccb582b278
CHORE: Linting ( #1704 )
...
* Remove deprecated io/ioutil
* fixup!
* staticcheck and linting
* revert models/provider.go
* Fix imports to new style
* linting
2022-08-14 20:46:56 -04:00
Tom Limoncelli
cd61c2c766
CHORE: Remove deprecated io/ioutil ( #1699 )
...
* Remove deprecated io/ioutil
* fixup!
* fixup!
2022-08-14 12:50:15 -04:00
Jan-Philipp Benecke
bcb968411a
MAINT: Unify provider outputs to pkg/printer ( #1546 )
...
* Unify provider outputs to pkg/printer
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* No need for custom Errorf
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Add missing import for activedir
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Add missing fmt import for activedir
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2022-06-18 09:01:02 -04:00
Tom Limoncelli
40bc39533f
BIND: Bug: DefaultNS strips last char ( #1411 )
...
* BIND: Bug: DefaultNS strips last char
* fixup!
2022-02-15 16:01:25 -05:00
Tom Limoncelli
02c5258396
CODE: Fix simple staticcheck items ( #1329 )
2021-12-14 16:28:37 -05:00
nemunaire
80f22df705
MAINTENANCE: Return error instead of panic when converting RR to RC ( #1199 )
2021-07-06 11:03:29 -04:00
Tom Limoncelli
24083d3f76
Add integration test for SOA ( #1147 )
...
* Add integration test for SOA
* Add docs for SOA record
* MAINT: Rename SoaInfo to SoaDefaults.
gorename -v -from '"github.com/StackExchange/dnscontrol/v3/providers/bind".SoaInfo' -to SoaDefaults
2021-05-07 14:39:26 -04:00