Hamish Moffatt
5fd8b65815
format=js generates wrong DS() format ( #2332 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-05-08 08:08: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
Tom Limoncelli
5e9472bd44
BUG: diff2 flag can not work in both places ( #2286 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-04-17 14:59:35 -04:00
Tom Limoncelli
bcf590f649
Enable --diff2 flag anywhere on the command line ( #2281 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-04-16 14:46:39 -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
Paul Dee
ac5006ba68
DOCS: Fix number type in typescript ( #2219 )
2023-03-24 08:39:04 -04:00
Tom Limoncelli
80bf577afb
CHORE: go generate
2023-03-20 09:29:19 -04:00
Jan-Philipp Benecke
ac8815e0e1
MAINT: Use WaitGroup instead of labeled loop ( #2201 )
...
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-19 15:30:19 -04:00
Jeffrey Cafferata
e0dadba9b5
DOCS: Reintroduced the missing space ( #2198 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-17 15:40:09 -04:00
Paul Dee
feecdd73d8
DOCS: LOC Link errors ( #2188 )
2023-03-16 23:04:13 -04:00
Tom Limoncelli
8b2a38a845
CHORE: go generate ( #2181 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-03-16 14:10:58 -04:00
Paul Dee
3b6591fd95
NEW FEATURE: Support DNS LOC record type ( #2174 )
2023-03-16 14:04:20 -04:00
Paul Dee
731181ffa1
DOCS: Mostly styling and links ( #2178 )
...
Co-authored-by: Tom Limoncelli <tal@whatexit.org>
2023-03-15 18:43:57 -04:00
Paul Dee
28fcd264ee
DOCS: Update SPF_BUILDER.md ( #2169 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-15 12:13:15 -04:00
Kim Almasan
9beb00f6b1
Add tlsa to hetzner provider ( #2168 )
2023-03-15 09:44:18 -04:00
Tom Limoncelli
2be3edc0a7
Report provider name even in skinny mode (--full=false) ( #2163 )
2023-03-14 13:45:32 -04:00
Paul Dee
0ecae2c151
DOCS: Update NAMESERVER.md ( #2155 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-13 16:33:05 -04:00
Paul Dee
af99942a3e
DOCS: Add NAPTR doc ( #2150 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-13 16:28:59 -04:00
Tom Limoncelli
cbf4f00686
CHORE: update deps ( #2162 )
2023-03-13 15:00:04 -04:00
Paul Dee
0e55421e96
DOCS: Update NS.md ( #2156 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-13 14:42:08 -04:00
Tom Limoncelli
ad4b8daa13
BUGFIX: REPORT change type always crashes on push ( #2130 )
2023-03-08 22:22:12 -08:00
Jeffrey Cafferata
3d3f15d1d0
DOCS: Correct flag name ( #2118 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-03-06 15:23:06 -05:00
Yannik Sembritzki
5d554f1cef
BUG: Compare zones list to ace zone name ( #2096 ) ( #2110 )
...
Co-authored-by: Yannik Sembritzki <yannik@sembritzki.org>
2023-03-01 08:38:13 -05:00
Jed Fox
1fda0de4d9
Fix parameter type for DEFAULTS ( #2072 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-02-13 14:13:27 -05:00
Tom Limoncelli
d1dcba45ed
CHORE: update deps ( #2071 )
2023-02-13 13:42:52 -05: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
Jed Fox
83252ef641
Remove all template tag lines from the .d.ts file ( #2030 )
2023-01-31 16:42:17 -05:00
Tom Limoncelli
8ec4e26703
go generate ( #2029 )
2023-01-31 14:36:10 -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
8249a4b95b
Linting ( #1996 )
2023-01-28 11:09:38 -05:00
Tom Limoncelli
3a6b488b8a
CHORE: Update deps ( #1984 )
2023-01-25 16:35:50 -05:00
Tom Limoncelli
4c3583cd5a
Domains flag should accept simple wildcards ( #1983 )
2023-01-25 12:17:21 -05:00
Tom Limoncelli
32c7703702
get-zones: improve error message for unsupported providers ( #1978 )
2023-01-24 10:11:38 -05:00
Tom Limoncelli
a1b24a2e82
GANDI_V5: Temporarily disable ListDomains ( #1962 )
2023-01-21 17:22:26 -05:00
Jed Fox
9b3ad81b1d
Embed types-dnscontrol.d.ts into the binary instead of fetching it via HTTP ( #1942 )
...
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
2023-01-17 12:10:43 -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
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
b821f4914f
FEATURE: "check" subcommand should send to stdout ( #1755 )
...
Co-authored-by: Grant Slater <github@firefishy.com>
2022-09-22 11:03:03 -04:00
Tom Limoncelli
391622ff55
get-zones now outputs a comment about CNAMEs at apex ( #1732 )
2022-08-29 10:18:39 -04:00
Tom Limoncelli
8bb63be8f5
Add --verbose flag, default to less verbose output ( #1721 )
2022-08-20 20:59:02 -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
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
Tom Limoncelli
35d47d86e7
get-zones "js" format should generate petty DSP variable ( #1630 )
...
* Improve get-zones "js" format.
New:
```
$ dnscontrol get-zone --format js providercredkey - stackoverflow.co.il
var DSP_PROVIDERCREDKEY = NewDnsProvider("providercredkey");
var REG_CHANGEME = NewRegistrar("none");
D("stackoverflow.co.il", REG_CHANGEME,
DnsProvider(DSP_PROVIDERCREDKEY),
DefaultTTL(14400),
A('www', '165.160.15.20'),
...
...
...
...
//NAMESERVER('dns1.cscdns.net.'),
//NAMESERVER('dns2.cscdns.net.')
)
```
* Update test data
2022-07-19 11:21:37 -04:00
Jan-Philipp Benecke
490f1d6184
NEW FEATURE: Add deprecation notice to create-domains command ( #1529 )
2022-06-08 15:18:26 -04:00
Jan-Philipp Benecke
c0450223c2
Create non-existing zones while push or print warning while preview ( #1528 )
...
* Create non-existing zones while push. While preview print a warning
Signed-off-by: Jan-Philipp Benecke <jan-philipp.benecke@jpbe.de>
* Ooops, remove testing lines
Signed-off-by: Jan-Philipp Benecke <jan-philipp.benecke@jpbe.de>
* Renaming flag
Signed-off-by: Jan-Philipp Benecke <jan-philipp.benecke@jpbe.de>
* Change flag description
Signed-off-by: Jan-Philipp Benecke <jan-philipp.benecke@jpbe.de>
* Reverse flag logic
Signed-off-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2022-06-08 14:53:16 -04:00
Tom Limoncelli
9e6d642e35
NEW FEATURE: Moving provider TYPE from dnsconfig.js to creds.json ( #1500 )
...
Fixes https://github.com/StackExchange/dnscontrol/issues/1457
* New-style creds.json implememented backwards compatible
* Update tests
* Update docs
* Assume new-style TYPE
2022-05-08 14:23:45 -04:00
Tom Limoncelli
1c43d03d89
Refactor: Move creds.json processing out of InitializeProviders ( #1495 )
...
* Rename providers/config to pkg/credsfile
* Refactor InitializeProviders in preparation for v3.16
2022-05-04 11:02:36 -04:00
Tom Limoncelli
19550aeed9
Refactor: Rename providers/config to pkg/credsfile ( #1494 )
2022-05-02 20:12:30 -04:00