Tom Limoncelli
057491a93d
use --fix
2025-01-05 13:27:12 -05:00
Tom Limoncelli
9df5a25715
CHORE: Linting corrections ( #3236 )
2024-12-12 14:07:11 -05:00
Tom Limoncelli
9357743ee9
CHORE: Remediate staticcheck warnings ( #3231 )
2024-12-09 17:07:43 -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
7741ef08f9
Enable support for SVCB/HTTPS in GCLOUD and HEDNS ( #2926 )
2024-05-01 18:20:59 -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
Tom Limoncelli
ce89f7fb96
CHORE: Eliminate SetTargetTXTString() ( #2409 )
2023-06-01 13:11:36 -04:00
nemunaire
5ae231030e
Update version in go.mod ( #2382 )
2023-05-20 13:21:45 -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
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
Robert Blenkinsopp
5e53c48b04
HEDNS: Fix support for LOC records ( #2216 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-23 09:37:19 -07:00
Paul Dee
3b6591fd95
NEW FEATURE: Support DNS LOC record type ( #2174 )
2023-03-16 14:04:20 -04:00
Yannik Sembritzki
5e06c249d6
Rename DomainCreator to the more accurate ZoneCreator ( #2038 )
...
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-02-07 07:22:49 -05:00
Tom Limoncelli
de202531cb
NEW FEATURE: NO_PURGE reports what is not purged (diff2 only) ( #2031 )
2023-02-01 07:27:00 -05:00
Tom Limoncelli
8249a4b95b
Linting ( #1996 )
2023-01-28 11:09:38 -05:00
Robert Blenkinsopp
99a0eb84f6
HEDNS: Add full Diff2 support ( #1915 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-09 16:20:03 -05:00
Tom Limoncelli
f8fd853a02
HEDNS: Adopt diff2 in compatibility mode ( #1887 )
2023-01-02 08:25:23 -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
61e500b7dc
DEV: Optimize integration tests ( #1742 )
2022-09-07 14:08:06 -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
Tom Limoncelli
444b893e1b
MAINT: Sort various lists ( #1433 )
...
* maint: sort lists in build/generate/featureMatrix.go
* maint: sort lists in docs/byo-secrets.md
* maint: sort lists in models/record.go
* maint: sort lists in pkg/normalize/validate.go
* maint: sort lists in providers/activedir/activedirProvider.go
* maint: sort lists in providers/akamaiedgedns/akamaiEdgeDnsProvider.go
* maint: sort lists in providers/axfrddns/axfrddnsProvider.go
* maint: sort lists in providers/azuredns/azureDnsProvider.go
* maint: sort lists in providers/cloudflare/cloudflareProvider.go
* maint: sort lists in providers/cloudns/cloudnsProvider.go
* maint: sort lists in providers/desec/desecProvider.go
* maint: sort lists in providers/digitalocean/digitaloceanProvider.go
* maint: sort lists in providers/dnsimple/dnsimpleProvider.go
* maint: sort lists in providers/dnsmadeeasy/dnsMadeEasyProvider.go
* maint: sort lists in providers/exoscale/exoscaleProvider.go
* maint: sort lists in providers/gandiv5/gandi_v5Provider.go
* maint: sort lists in providers/hedns/hednsProvider.go
* maint: sort lists in providers/hetzner/hetznerProvider.go
* maint: sort lists in providers/hexonet/hexonetProvider.go
* maint: sort lists in providers/inwx/inwxProvider.go
* maint: sort lists in providers/linode/linodeProvider.go
* maint: sort lists in providers/namecheap/namecheapProvider.go
* maint: sort lists in providers/namedotcom/namedotcomProvider.go
* maint: sort lists in providers/netcup/netcupProvider.go
* maint: sort lists in providers/ns1/ns1Provider.go
* maint: sort lists in providers/octodns/octodnsProvider.go
* maint: sort lists in providers/oracle/oracleProvider.go
* maint: sort lists in providers/ovh/ovhProvider.go
* maint: sort lists in providers/packetframe/packetframeProvider.go
* maint: sort lists in providers/powerdns/powerdnsProvider.go
* maint: sort lists in providers/route53/route53Provider.go
* maint: sort lists in providers/vultr/vultrProvider.go
* Update go:build pragmas for windows
* More sorting
* go generate
2022-03-02 11:19:15 -05:00
Tom Limoncelli
6d64fc8cac
Fix CodeQL issues ( #1173 )
2021-06-24 18:15:09 -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
Robert Blenkinsopp
3e5e976766
HEDNS: Fix issue with domain listing on completely empty/new accounts ( #1075 )
...
* HEDNS: Fix issue with domain listing on completely empty accounts
* HEDNS: Correct typo in provider name
* HEDNS: Correct further usages of HDNS -> HEDNS
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-03-02 16:08:01 -05:00
Robert Blenkinsopp
46e9715b67
HEDNS: Fix CNAME, NS and PTR record handling of trailing . ( #1064 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2021-03-01 07:10:36 -05:00
Tom Limoncelli
ca30c9c34f
Rename provider handles to *Provider ( #914 )
2020-10-26 09:25:30 -04:00
Robert Blenkinsopp
74dd34443a
NEW PROVIDER: HEDNS: Hurricane Electric DNS (dns.he.net) ( #822 )
...
* Add initial dns.he.net provider support
* Update to new IncrementalDiff interface
* Fix ListZones output for `all` query on `get-zones`
* Refactor authentication code for 2FA with better error checking
* Fix integration test and refactor zone record retrieval
* Add option to use `.hedns-session` file to store sessions between runs
* Add comment on `session-file-path`
* Add integration test for TXT records longer than 255 characters
* Add additional checks for expected responses, and better 2FA error checking
* Minor documentation changes
* Revert "Add integration test for TXT records longer than 255 characters"
This reverts commit 657272db
* Add note on provider fragility due to parsing the web-interface
* Resolve go lint issues
* Clarify security warnings in documentation
2020-08-26 13:38:28 -04:00