1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
d1fba2c236 Route53 provider: pass the right correction message based on action (#151) 2017-07-14 16:03:04 -04:00
d346d561a0 NAMEDOTCOM needs parameterization to permit integration testing. 2017-07-13 15:21:16 -04:00
e563c53658 PTR should handle "Classless in-addr.arpa delegation" RFC2317 (#149)
* Handle IPv4 "Classless in-addr.arpa delegation" RFC2317 (partial).
* Validate PTR name when in RFC2317 "Classless in-addr.arpa delegation" domains.
* Update docs
* Set CanUsePTR for Route53 and Google CloudDNS.
* BIND: Replace "/" with "_" in filenames.
2017-07-10 19:24:55 -04:00
152892f62a generalize capability validation 2017-07-06 10:24:21 -04:00
aa92817116 Enable PTR records for BIND driver (#146)
* WIP

* Enable PTR records in dnsconfig.js, in BIND provider.

* Rename REVERSE() to REV().

* More accurate PTR target checking

* Document REV()

* Fix broken test
2017-07-06 10:18:15 -04:00
0b34c42ff4 Rename RR() to ToRR(). 2017-06-17 11:00:12 -04:00
2b93e6725f Gandi does not support TTLs > 30 days (#139)
* Fix https://github.com/StackExchange/dnscontrol/issues/108

TODO(tlim): Add tests.

* fixup!
2017-06-12 11:38:26 -04:00
79a9de256e Clarify error message. 2017-06-09 11:57:30 -04:00
42ef9f4b9e moving a bunch of packages under pkg (#124)
* moving a bunch of packages under pkg

* fix gen

* fix tst

* oops

* fix test fo real

* parse mx/a
2017-05-25 14:25:39 -04:00
20253130cf allowing metadata to force remove all nameservers 2017-05-23 13:38:14 -04:00
f1a0d65198 Cloudflare Redirects (#119)
* function sig

* sig

* some custom record infrastructure

* CLOUDFLARE REDIRECTS!

* comments out

* guarding redirects behind provider metadata to manage

* catch commas in js to ensure proper encoding.

* gen

* small fix

* revendor otto

* docs
2017-05-19 14:15:57 -04:00
5cad1c3513 Cloudflare createdomain (#113)
* fixing #112

* fixing build issue

* typo

* adding missing commits from master

* fixing gofmt validation errors

* fixing github pull request sugestions

* fixing build issue

* adding debug info

* adding more debug

* tweaking code based on pull request comments

* fixing error
2017-05-05 15:20:43 -06:00
95705e7f2d Allow more flexibility in configuring Route53 (#93)
* providers/route53/route53Provider.go

* fix fmt

* check credentials, add Route53 fetch zones in init section and add check if delegation set is present or nil
2017-05-03 11:30:05 -06:00
0f4f7d813e no purge (#111) 2017-05-03 09:46:39 -06:00
22fb25af36 adding no_purge to cloudflare (#110) 2017-05-03 09:24:08 -06:00
8769b1f021 Removed debug statements. 2017-04-30 09:30:07 -04:00
d92fd5b461 BIND Provider: Pick default TTL automatically for zonefiles (#109)
* BIND Provider: Pick default TTL automatically for zonefiles
2017-04-30 09:28:35 -04:00
3488c82093 Fix some typos in comments (#102) 2017-04-27 06:59:18 -06:00
426c2ed38d add BaseURL option to namecheap creds to allow setting sandbox endpoint (#97) 2017-04-25 11:24:55 -04:00
4f0b605908 alias can have orange cloud 2017-04-20 07:13:21 -06:00
e9f6749c0f Name.com now manages NS records by itself. (#92) 2017-04-19 15:20:26 -06:00
fb14cea91e Support ALIAS records with Cloudflare (#89)
* simple facility for registering provider capabilities

* support for cloudflare. tests.

* js and docs

* docs

* generate
2017-04-19 13:13:28 -06:00
bb1dcac520 Testing and fixing AD (#74)
* updates to AD

* fix linux build
2017-04-13 10:19:51 -06:00
ff6c4289fa namecheap: Sorting nameservers (#72)
Partially fixes #69
2017-04-10 19:26:19 -06:00
eddb66caa5 Correct docs to reflect supported values for cloudflare_proxy[_default] (#71)
Also correct other minor typos
2017-04-10 19:26:11 -06:00
d205c8b4ed Adding gandi to integration suite. Fixing bugs. (#57)
* Adding gandi to integration suite. Fixing bugs.
Fixes #35
Fixes #36

* small fixes

* gandi docs
2017-03-27 16:03:01 -06:00
7073b8f989 getting tests setup for r53. Not mixing deletes and other changes in same changeset. 2017-03-22 13:08:23 -06:00
2ac43a424b Letting you run only some tests. Way to document failures in individual providers and skip. 2017-03-22 10:40:47 -06:00
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
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
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
004d817349 bind puts output inside correction text 2017-03-14 14:47:40 -07:00
858ab000ae moving provider imports to dedicated package 2017-03-14 00:15:55 -07:00
09bc5ee38c Added case for quad-A to bind provider 2017-01-13 16:29:38 -05:00
988278b612 Don't fatal out on unknown record types in BIND 2017-01-13 16:20:22 -05:00
0d386c20ec Fix bug in name.com provider
Fixes #28
2017-01-13 12:30:04 -07:00
b8357f499a fix fmt 2017-01-12 07:31:32 -07:00
12f006441b Refactoring diff package interface (#22)
* initial refactoring of diffing

* making cloudflare and others compile

* gandi and gcloud. no idea if gandi works anymore.

* r53

* namedotcom wasn't working.
2017-01-11 12:38:07 -07:00
ba94dc9777 switching gcloud to use json mode. Not backward compatible. (#24) 2017-01-11 12:09:14 -07:00
20bf7ef43b Seperate create-domains command (#21)
* removing auto-create from gcloud

* adding create-domains command

* implement DomainCreator for r53
2017-01-03 13:26:08 -07:00
e18d4f9b2e google creates zones as needed 2017-01-03 10:24:00 -07:00
049045e1ad fix bind 2016-12-16 13:30:45 -07:00
971ba8a16e removing silly bind ttl 2016-12-16 13:28:02 -07:00
1ea80d5347 Nameserver overhaul (#17)
* go changes to support nameservers_from

* clear nameservers before giving to dsp.

* work

* work

* nameserver updates.

* remove unused

* name.com stinks at NS records.

* whitespace

* removing web(belongs in own repo). First sketch of DSP vs NAMESERVER_FROM

* add DEFAULTS to replace defaultDsps.

* initial gcloud provider. Simple records work.

* namedotcom can do subdomain ns records now.

* fix for mx and txt

* kill dsp acronym
2016-12-16 13:10:27 -07:00
471609094d Activate AD Remove-DnsServerResourceRecord by removing-Whatif (#11) 2016-09-29 16:58:39 -06:00
b32eb62ebe Uncomment AD delete commands (#9)
* Actually run AD delete commands

* keep whatif
2016-09-28 14:05:13 -06:00
162a4a2ee1 active directory delete command (#6)
* commented out ad delete command

* compiles

* newline

* change order

* echo, and specify content

* echo all fields

* Purge checking for AD.

* whatif

* whatif and comment
2016-09-28 13:35:44 -06:00
ef0bbf53af migrate code for github 2016-08-22 18:31:50 -06:00