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
Tom Limoncelli
fba40d5373
BIND: Enable hermetic zone builds ( #2275 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org >
2023-04-25 18:00:11 -05: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
Tom Limoncelli
2162e19134
CHANGE: Old SOA mbox format no longer a warning ( #2191 )
2023-03-16 23:14:47 -04: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
Yannik Sembritzki
dc02d5b74f
Expect SOA mailbox in hostmaster@example.org format instead of hostmaster.example.org ( #2037 )
...
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org >
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com >
2023-02-07 09:25:41 -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
Tom Limoncelli
31723ad146
PERFORMANCE: Refactor auditrecords.go to loop only once #1570 ( #1658 )
...
* stash
* Use rejectif idea
* rename
* wip!
* Convert old systems to new
* fixup!
* fix typo
2022-08-11 17:24:47 -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
Tom Limoncelli
8d139d182f
gofmt all ( #1144 )
2021-05-04 14:15:31 -04:00
Tom Limoncelli
e69e6f27e4
Linting ( #1087 )
...
* fix linting
* rename AuditRecordsor to RecordAuditor
* gandi_v5 to gandiv5
2021-03-08 20:14:30 -05:00
Tom Limoncelli
8dea9edc34
Re-engineer TXT records for simplicity and better compliance ( #1063 )
...
TXT records are now handled different.
1. The raw input from dnsconfig.js is passed all the way to the provider. The provider can determine if it can or can't handle such records (auditrecords.go) and processes them internally as such.
2. The CanUseTXTMulti capability is no longer needed.
* DSPs now register a table of functions
* Use audits for txt record variations
* unit tests pass. integration fails.
* fix deepcopy problem
* rename to AuditRecordSupport
* Reduce use of TXTMulti
* Remove CanUseTXTMulti
* fix Test Skip
* fix DO
* fix vultr
* fix NDC
* msdns fixes
* Fix powerdns and cloudflare
* HEDNS: Fix usage of target field to resolve TXT handling (#1067 )
* Fix HEXONET
Co-authored-by: Robert Blenkinsopp <robert@blenkinsopp.net >
Co-authored-by: Jakob Ackermann <das7pad@outlook.com >
2021-03-07 13:19:22 -05:00
Tom Limoncelli
21e85e6528
"Target" RecordConfig should not be exported ( #1061 )
...
* Unexport RecordConfig.Target
* Fix tests
* HEDNS: Fix usage of target field to resolve TXT handling (#1067 )
Co-authored-by: Robert Blenkinsopp <robert@blenkinsopp.net >
2021-03-04 18:58:23 -05:00
Tom Limoncelli
c547beacc0
NEW FEATURE: Support Split Horizon DNS ( #1034 )
...
* Implement main feature
* BIND: Permit printf-like file name formats
* BIND: Make filenameformat work forwards and backwards.
* Fix extrator test cases
2021-02-05 12:12:45 -05:00
Tom Limoncelli
ca30c9c34f
Rename provider handles to *Provider ( #914 )
2020-10-26 09:25:30 -04:00
Tom Limoncelli
f082ad36c8
AUTODNSSEC -> AUTODNSSEC_ON ( #863 )
...
* AUTODNSSEC -> AUTODNSSEC_ON
* Validate AutoDNSSEC values
* AUTODNSSEC now generates a warning and does nothing.
2020-09-27 16:37:42 -04:00
Tom Limoncelli
b6fd4dffd7
Cleanups: Fix many issues reported by staticcheck.io ( #837 )
...
* Lint: Fix ST1005: error strings should not be capitalized
* Cleanup: Fix a lot of staticcheck.io warnings
2020-08-30 20:38:08 -04:00
Mike Cochrane
59747a96f0
Cleanup: Bubble errors up from diff instead of panic ( #799 ) ( #817 )
2020-08-20 15:49:00 -04:00
Kevin Zander
79357bb667
Add TTL to BIND SoaInfo struct ( #820 )
...
Co-authored-by: Kevin Zander <Kevin.Zander@sony.com >
2020-08-20 15:44:15 -04:00
Tom Limoncelli
2c9301387a
aRemove debug statement
2020-07-09 19:34:35 -04:00
Tom Limoncelli
541bb805da
linting ( #777 )
2020-07-06 20:18:24 -04:00
Tom Limoncelli
87a5c4b339
New RTYPE: DS records now supported! ( #753 )
...
Thanks to @haraldkoch for starting this, @McNetic for picking it up.
* Added DS record type
* Added DS for cloudflare provider with tests
* Removed DS validation, fixed parse test
* Added generated files
* Added dnsimple ds record
* Regenerated documentation matrix
* rebased and regenerated
* Updated integration tests
* Rebase and regenerate
* Enable DS record type for provider desec
* Added DS record type
* Added DS for cloudflare provider with tests
* Removed DS validation, fixed parse test
* Added generated files
* Added dnsimple ds record
* Regenerated documentation matrix
* rebased and regenerated
* Updated integration tests
* Rebase and regenerate
* Enable DS record type for provider desec
* Rebase and fixes
Co-authored-by: Robert Koch <robert@kochie.io >
Co-authored-by: Nicolai Ehemann <nicolai.ehemann@enerko-informatik.de >
2020-05-30 10:40:21 -04:00