Commit graph

92 commits

Author SHA1 Message Date
Craig Peterson 2e997d6a51 spelling 2017-03-22 10:39:36 -06:00
Craig Peterson 854c84e652 Update bind docs and Getting Started (#53)
* intitial work for bind refactor

* relax requirement that creds.json exists.

* Updating bind docs.
Fixes #48

* typo

* can exclude provider from default set in creds.json

* Add bind to integration tests. Fix for IDNs.
2017-03-22 10:38:08 -06:00
Craig Peterson 33b4d2b748 Adding example page to docs 2017-03-20 21:47:18 -06:00
Tom Limoncelli c85f7327c6 Improve convertzone documentation (#54)
* NEW: convertzone/ Read BIND zone files, output records as DSL, TSV, or pretty-print.

* Refactored to be more gostyle.

* Fix buffering issue.

* Delete the hacky awk script.

* Linting.

* Lint and documentation fixes.

* DNSimple provider (#43)

* Implement a basic DNSimple provider.

Handles domain delegation as well as record create, update, and delete.

Note that this is completely untested at the moment. It’s so alpha it might burn your face off.

* Add some inline comments. Always use the StackExchange libs.

* Clean up dnsimple docs a little

* This will need to be changed before merging.

* Import the dnsimple dnscontrol package from its expected path

* Properly build the FQDN and implement record listing so create/update/delete are used correctly.

* Add support for overriding base URL to allow connection to sandbox.

* Vendor dnsimple-go and its dependencies.

* Remove unnecessary doc file.

* Use dnsutil.AddOrigin for combining record name and origin.

* Modifying dnsimple provider to pass tests

* NEW: convertzone/ Read BIND zone files, output records as DSL, TSV, o… (#49)

* NEW: convertzone/ Read BIND zone files, output records as DSL, TSV, or pretty-print.

* Refactored to be more gostyle.

* Fix buffering issue.

* Delete the hacky awk script.

* Linting.

* Update README.md

* Update README.md

* Update README.md

* Docs
2017-03-20 15:21:09 -06:00
Craig Peterson 9fa7164081 Validation Refactor (#52)
* Cleaning up (and enforcing) validation

* Some more style fixes to validation

* comment
2017-03-20 14:20:02 -06:00
Tom Limoncelli 9817c284d7 NEW: convertzone/ Read BIND zone files, output records as DSL, TSV, o… (#49)
* NEW: convertzone/ Read BIND zone files, output records as DSL, TSV, or pretty-print.

* Refactored to be more gostyle.

* Fix buffering issue.

* Delete the hacky awk script.

* Linting.
2017-03-20 12:27:40 -06:00
Anthony Eden 4fef4a8550 DNSimple provider (#43)
* Implement a basic DNSimple provider.

Handles domain delegation as well as record create, update, and delete.

Note that this is completely untested at the moment. It’s so alpha it might burn your face off.

* Add some inline comments. Always use the StackExchange libs.

* Clean up dnsimple docs a little

* This will need to be changed before merging.

* Import the dnsimple dnscontrol package from its expected path

* Properly build the FQDN and implement record listing so create/update/delete are used correctly.

* Add support for overriding base URL to allow connection to sandbox.

* Vendor dnsimple-go and its dependencies.

* Remove unnecessary doc file.

* Use dnsutil.AddOrigin for combining record name and origin.

* Modifying dnsimple provider to pass tests
2017-03-18 19:58:47 -06:00
Craig Peterson 101916a6e4 Integration Testing framework (#46)
* integration test started

* details

* More tests.

* idn tests and punycode (not tested fully because I'm on an aiplane)

* test for dual provider compatibility

* readme for tests

* vendor idna

* fix casing
2017-03-16 22:42:53 -07:00
Anthony Eden 0906f5c383 Note about vendoring dependencies. (#44) 2017-03-16 22:22:39 -07:00
daubaris ece9a7aa7d Redundant use of multiple fmt.Println commands (#45)
Changed multiple fmt.Println("") commands to one using backticks
2017-03-16 08:05:03 -07:00
Tom Limoncelli b69cc65baf zone2dnscontrol: handle strings with ";" a bit better. 2017-03-14 18:08:33 -07:00
Bob Florian 51cf29a0e4 Update README.md (#41)
Fixed typo
2017-03-14 17:38:41 -07:00
Nick Craver 3f4a1a3ccf Give BIND some respect. 2017-03-14 20:21:48 -04:00
Nick Craver aab614fee3 README love 2017-03-14 20:20:56 -04:00
Nick Craver e868e44f1d Syntax highlighting on README 2017-03-14 20:07:40 -04:00
Craig Peterson 4bb761106b yaml 2017-03-14 17:02:05 -07:00
Craig Peterson 7774a27b66 gitter webhook to travis 2017-03-14 16:57:59 -07:00
Tom Limoncelli 3485735bf4 zone2dnscontrol: Document more caveats. 2017-03-14 16:36:07 -07:00
Craig Peterson 64c5e38b8e whitespace 2017-03-14 16:26:56 -07:00
Craig Peterson 34faf3aa6e add gitter to readme 2017-03-14 16:26:39 -07:00
Tom Limoncelli dc1e9f7210 NEW: zone2dnscontrol: Convert zonefiles to DNSControl. 2017-03-14 16:10:46 -07:00
Craig Peterson 004d817349 bind puts output inside correction text 2017-03-14 14:47:40 -07:00
Hefeweizen 36c7911926 minor editing (#39) 2017-03-14 14:42:08 -07:00
Craig Peterson 94031d08da Use correct travis badge. 2017-03-14 14:26:24 -07:00
Craig Peterson cda33f0463 reduce travis nag 2017-03-14 00:47:55 -07:00
Craig Peterson b79717e8a4 Text / Github link 2017-03-14 00:46:11 -07:00
Craig Peterson 40e2e3aab9 markdown 2017-03-14 00:43:48 -07:00
Craig Peterson df40bc1ee1 shim for writing providers 2017-03-14 00:43:03 -07:00
Craig Peterson 7125594771 readme 2017-03-14 00:36:59 -07:00
Craig Peterson c52ff67386 oops, dot 2017-03-14 00:30:42 -07:00
Craig Peterson e4f3fa6c10 SImple example to readme 2017-03-14 00:30:02 -07:00
Craig Peterson c68fd3ac26 switch to public travis 2017-03-14 00:19:08 -07:00
Craig Peterson 858ab000ae moving provider imports to dedicated package 2017-03-14 00:15:55 -07:00
Craig Peterson 8e48ab894d rename js link 2017-03-13 14:48:09 -07:00
Craig Peterson 5039772a7e message better for validation 2017-03-12 16:42:22 -07:00
Craig Peterson cda8c482db seperate files for build mains. 2017-03-12 16:41:11 -07:00
Craig Peterson b0e3b05e86 run tests in travis 2017-03-12 16:38:19 -07:00
Craig Peterson 09a1c36cc1 travis version 2017-03-12 16:36:37 -07:00
Craig Peterson 47a4ba4d05 img 2017-03-12 16:31:48 -07:00
Craig Peterson a6b9e420b3 generate 2017-03-12 16:29:53 -07:00
Craig Peterson 7ba496bf96 tweaks to gcloud 2017-03-12 16:02:46 -07:00
Craig Peterson 2fa4f0ece7 Printing correction count for each provider as we go. 2017-03-12 16:02:30 -07:00
Craig Peterson b11254e51f import transform will not overwrite existing records. (#34)
fixes #33
2017-02-07 12:42:11 -07:00
Tom Limoncelli 603da92a21 Add why-the-dot.md to index.md 2017-02-01 12:32:37 -05:00
Tom Limoncelli 4649ba6bcb Editing. 2017-02-01 12:30:54 -05:00
Tom Limoncelli 7ce2152a0a NEW: why-the-dot.md 2017-02-01 12:22:11 -05:00
Tom Limoncelli 56698453a1 validate.go: Remove "_" warning if CNAME is a _domainkey.
* "_" is permitted in label, if we suspect the target is a TXT.
  * Improve warning text if "." is required at end of target.
  * Move common factor assert_no_enddot(label) outside of case statement.
2017-01-24 11:57:59 -05:00
Mark Henderson 09bc5ee38c
Added case for quad-A to bind provider 2017-01-13 16:29:38 -05:00
Mark Henderson 2cb07d0c0b Merge branch 'master' of gitlab.stackexchange.com:sre/dnscontrol 2017-01-13 16:21:34 -05:00
Mark Henderson 988278b612
Don't fatal out on unknown record types in BIND 2017-01-13 16:20:22 -05:00