Tom Limoncelli
dde7e5daf7
FEATURE: Detect simple CNAME loops ( #2112 )
2023-03-01 10:15:41 -05:00
Tom Limoncelli
2586e2b611
CORE: Clean up diff2 code in prep for production ( #2104 )
2023-02-28 01:25:09 -05:00
Tom Limoncelli
e129e40313
FEATURE: Colorize diff2 output ( #2103 )
2023-02-28 01:14:06 -05:00
Tom Limoncelli
169d7c8062
CHORE: linting ( #2098 )
2023-02-27 20:28:17 -05:00
Tom Limoncelli
05dc26bf2e
BUG: diff2: ttl changes don't always work ( #2093 )
2023-02-25 22:40:54 -05:00
Jeffrey Cafferata
ab872cc13f
CHORE: Go fmt ( #2095 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-02-25 22:20:12 -05:00
Yannik Sembritzki
b1b24df6cb
Remove value check for removed AUTODNSSEC() function (we now only have AUTODNSSEC_ON and AUTODNSSEC_OFF) ( #2091 )
2023-02-23 08:28:22 -05:00
Yannik Sembritzki
7236ea818e
Verify that registrar and dns providers match if autodnssec is enabled ( #2056 ) ( #2090 )
...
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org>
2023-02-22 14:43:27 -05:00
Tom Limoncelli
fc3a217dc1
Bugfixed: NO_PURGE now works on all diff2 providers ( #2084 )
2023-02-19 12:33:08 -05:00
Florian Ritterhoff
fa67fcbc8b
NEW FEATURE: Colorize preview/push output ( #2076 )
2023-02-19 10:54:53 -05:00
Tom Limoncelli
17a43cb0a9
TTL warnings should be more verbose ( #2069 )
2023-02-15 10:00:02 -05:00
Tom Limoncelli
e3dc604247
AZURE_DNS: Convert to use diff2 natively ( #2058 )
2023-02-07 16:53:49 -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
Tom Limoncelli
e1ce6ff34f
CLOUDFLARE: Adopt diff2 ( #2040 )
2023-02-01 16:18:01 -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
Costas Drogos
7ed849d10d
NS1: Improve NS1_URLFWD handling ( #2015 )
2023-01-29 22:01: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
0051b41720
BUGFIX: CREATE may product empty log messages (ByRecordSet) ( #2013 )
2023-01-29 13:01:40 -05:00
Tom Limoncelli
a136621052
Improve warnings related to _ and TTLs ( #1989 )
2023-01-28 11:10:02 -05:00
Tom Limoncelli
8249a4b95b
Linting ( #1996 )
2023-01-28 11:09:38 -05:00
Jeffrey Cafferata
f912b15adc
DOCS: Migrated documentation website to Gitbook ( #1809 )
2023-01-20 07:56:20 -05:00
Tom Limoncelli
9bb38c4526
CHORE: Remove references to TXTMulti ( #1953 )
2023-01-18 11:45:36 -05:00
Jed Fox
1e337abcdf
Provide TypeScript typings for dnsconfig.js ( #1830 )
...
Co-authored-by: Jeffrey Cafferata <jeffrey@jcid.nl>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-12 16:59:42 -05:00
Tom Limoncelli
214eaeb84d
DOCS: Clarify ByRecord() assertions ( #1931 )
2023-01-11 12:17:34 -05:00
Tom Limoncelli
5c0801f4a8
DOCS: Improve pkg/diff2 documentation ( #1903 )
2023-01-01 14:14:18 -05:00
Tom Limoncelli
96e4e88fc5
Cleanups ( #1871 )
2022-12-30 22:03:36 -05:00
Tom Limoncelli
397ce107e5
REFACTOR: Add a backwards compatible interface to diff2 ( #1870 )
2022-12-30 21:53:50 -05:00
Tom Limoncelli
d765ced927
CHORE: Make Test_filterBy more readable ( #1869 )
2022-12-30 21:33:14 -05:00
Tom Limoncelli
bf0badf2f2
BUG: SPF split doesn't produce consistent output ( #1865 )
2022-12-26 09:11:52 -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
fe03b29ab2
format helpers.js ( #1848 )
2022-12-07 17:14:51 -05:00
Tom Limoncelli
ec5c4abbd6
BUGFIX: PrettySort helper doesn't sort ( #1838 )
...
PrettySort doesn't call sort! Luckily the only code that calls this is the "get-zones" subcommand, and nobody noticed that the output isn't sorted.
By making this change, people using "get-zones" to make their initial dnsconfig.js file will now find that their draft D() code is a little prettier.
2022-12-02 08:33:24 -05:00
Dragos Harabor
68516025a5
FEATURE: Add rTypes restrictions to IGNORE_NAME ( #1808 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-11-07 11:27:04 -05:00
Tom Limoncelli
61e500b7dc
DEV: Optimize integration tests ( #1742 )
2022-09-07 14:08:06 -04:00
Tom Limoncelli
8bb63be8f5
Add --verbose flag, default to less verbose output ( #1721 )
2022-08-20 20:59:02 -04:00
Tom Limoncelli
1010138fb6
gofmt -s -w
2022-08-14 20:49:57 -04: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
Tom Limoncelli
443b99aa59
CHORE: Remove duplicate ToDiff code ( #1684 )
2022-08-11 16:13:24 -04:00
Tom Limoncelli
0a6fa677f3
Fix broken test ( #1659 )
2022-08-08 10:30:21 -04:00
MisterErwin
7865e37c8f
Add RWTH provider ( #1629 )
...
* Add RWTH provider
* fix Owners order
* Reorganize RWTH Provider
* Fix staticcheck and code style issues
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-08-04 14:40:27 -04:00
Jakob Ackermann
a00572af4a
Create zone before use ( #1642 )
...
* preview/push: ensure zones exists before querying them
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* HETZNER: reset zone cache when creating a new zone
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
* ROUTE53: reset zone cache when creating a new zone
Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-08-01 14:44:17 -04:00
Amelia Aronsohn
befb52be86
DNSIMPLE: Fix TXT Handling, Second Edition ( #1624 )
...
* Fix typo and add sandbox information
* Use SetTargetTXT in GetZoneRecords
This fixes the behavior documented in #1622
Also apply cleanup to GetZoneRecords
* Remove SetTargetTXT, does not work in all tests
* Set The most correct TXT handling
* Well, There's your problem
* Add an audit and test for unpaired quotes
* Add some commentary
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2022-07-22 09:36:28 -04:00
Tom Limoncelli
bcaa6b15cb
AuditRecords should report the provider name ( #1628 )
2022-07-18 12:59:22 -04:00
Tom Limoncelli
959f721c04
MAINT: Update TXT docs, suggest not using TxtNoLen255 ( #1548 )
...
* suggest not using TxtNoLen255
* Rename functions
* wip!
* fixing!
2022-06-20 11:34:05 -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
Jan-Philipp Benecke
ba2c7f9c0e
MAINT: Enforcing formatted code ( #1544 )
...
* Enforcing formatted code
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Show lines
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Run check after deps are installed
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2022-06-18 08:56:04 -04:00
Tom Limoncelli
752e25471d
NEW PROVIDER: CSCGLOBAL as DNS Service Provider ( #1516 )
...
* Move the registrar features to a separate file
* Prepare the testing framework
* Roughed out functions
* Fix up structs
* WIP!
* First tests pass
* wip!
* Flesh out remaining rTypes, get nameservers, etc
* Fix TXT records
* Clean up code
* More cleanups. Fix CAA/SRV
* Linting
* Cleanups/linting
* Fix CAA [more] and more cleanups
* CSC does not like very long txt records
* Use timer only when interactive
* Disable CAA for now
* Update docs
* Remove debug printf
* add go-isatty
* cleanups
2022-06-12 16:01:08 -04:00