Commit Graph

104 Commits

Author SHA1 Message Date
Johannes Zellner
d00801d020 Only require service account key for google dns on setup 2017-09-18 23:50:34 +02:00
Girish Ramakrishnan
020ccc8a99 gcdns: fix update/del confusion
in the DNS api, we always update/del all records of same type
2017-09-15 01:54:39 -07:00
Girish Ramakrishnan
db1e39be11 Do not overwrite subdomain when location was changed
* Install in subdomain 'test'
* Move to subdomain 'test2'
* Move to another existing subdomain 'www' (this should be detected as conflict)
* Move to subdomain 'www2' (this should not remove 'www'). This is why dnsRecordId exists.
2017-09-14 22:31:48 -07:00
Girish Ramakrishnan
c05a7c188f Coding style fixes 2017-09-14 18:15:59 -07:00
Girish Ramakrishnan
72e912770a translate network errors to SubdomainError
fixes #391
2017-09-14 16:14:16 -07:00
Aleksandr Bogdanov
34878bbc6a Make sure we don't touch records which are not managed by cloudron, but are in the same zone 2017-09-13 20:53:38 +02:00
Aleksandr Bogdanov
37f9e60978 Fixing verifyDns 2017-09-12 16:29:07 +02:00
Aleksandr Bogdanov
6fce729ed2 Adding Google Cloud DNS 2017-09-09 17:45:26 +02:00
Girish Ramakrishnan
513517b15e cf dns: filter by type and name in the REST API
Otherwise, we will have to implement pagination
2017-09-05 16:07:14 -07:00
Girish Ramakrishnan
a96f8abaca DO DNS: list all pages of the domain 2017-09-05 15:52:59 -07:00
Girish Ramakrishnan
c47f878203 Set priority for MX records
Fixes #410
2017-08-26 15:54:38 -07:00
Johannes Zellner
2eb5c39388 Improve error reporting for cloudflare 2017-07-31 11:25:17 +02:00
Johannes Zellner
3bf07a3143 Make it work 2017-07-28 18:33:08 +02:00
Johannes Zellner
cf883046b3 verifyDnsConfig() api has changed 2017-07-28 16:33:19 +02:00
Johannes Zellner
5e9808ad79 We use single quotes 2017-07-28 16:12:41 +02:00
Johannes Zellner
cb7fea97af Keep coding style consistent 2017-07-28 16:10:04 +02:00
Johannes Zellner
3a4ee3ec8c Check for cloudflare email and token 2017-07-28 16:10:04 +02:00
Johannes Zellner
a939367ab6 Cleanup linter errors 2017-07-28 16:10:04 +02:00
Abhishek Patil
fd52f0ded4 Added support cloudflare DNS TODO:UI
Signed-off-by: Abhishek Patil <abhishek@zeroth.me>
2017-07-28 16:10:04 +02:00
Girish Ramakrishnan
204340eac0 Set ttl
Fixes #384
2017-07-27 13:25:37 -07:00
Johannes Zellner
f994b68701 wait for dns with the correct zone even on external domain setup 2017-06-21 15:04:39 +02:00
Girish Ramakrishnan
3745e96a6f domain -> fqdn 2017-06-15 19:56:04 -07:00
Girish Ramakrishnan
9ead482dc6 Make verifyDnsConfig take zone name
part of #110
2017-06-15 19:55:24 -07:00
Girish Ramakrishnan
c760c42f92 make waitForDns take zone name argument
part of #110
2017-06-15 19:54:08 -07:00
Girish Ramakrishnan
ddb69eb25c remove native-dns and use dig directly
native-dns module is unmaintained and we keep getting sporadic
errors from that module

Fixes #220
2017-05-26 16:51:05 -07:00
Girish Ramakrishnan
11697f11cf use constants for admin location 2017-05-24 15:41:37 -07:00
Johannes Zellner
798c2ff921 Return correct error if route53 security token is invalid 2017-04-16 12:52:14 +02:00
Johannes Zellner
d709a5cfe4 Attempt to give better digitalocean DNS error messages 2017-04-05 16:50:31 +02:00
Girish Ramakrishnan
4429239dbc Fix debug 2017-02-19 20:30:35 -08:00
Girish Ramakrishnan
639744e9cb async.every usage has changed 2017-02-16 20:20:46 -08:00
Girish Ramakrishnan
191b84d389 Make value a regexp 2017-02-15 10:16:23 -08:00
Girish Ramakrishnan
8a4350d22e upsert already returns a SubdomainError 2017-02-14 22:29:33 -08:00
Girish Ramakrishnan
cc6dae0f9e check if ns is set to DO nameservers 2017-02-14 22:27:27 -08:00
Girish Ramakrishnan
58528450e2 dns: Handle 422 errors in DO backend
Fixes #214
2017-02-14 20:51:44 -08:00
Girish Ramakrishnan
04476999f7 Fix grammar 2017-01-12 11:48:03 -08:00
Girish Ramakrishnan
3176bc1afa Fix failing tests 2017-01-10 16:54:15 -08:00
Girish Ramakrishnan
f3d3b31bed Fix error return type 2017-01-10 16:16:42 -08:00
Girish Ramakrishnan
f4b635a169 Fix error type 2017-01-10 14:21:36 -08:00
Johannes Zellner
11fb0d9850 Verify the my.domain instead of the zone 2017-01-10 12:30:14 +01:00
Johannes Zellner
3f925e5b96 Improve manual dns backend error message 2017-01-10 12:09:30 +01:00
Johannes Zellner
714ae18658 Fix the manual dns verification 2017-01-10 12:07:32 +01:00
Johannes Zellner
226164c591 This error is already a SubdomainError 2017-01-10 11:40:05 +01:00
Johannes Zellner
babfb5efbb Make the verifyDnsConfig() api return the valid credentials 2017-01-10 11:32:44 +01:00
Johannes Zellner
50e705fb25 Remove unused requires 2017-01-10 11:14:16 +01:00
Johannes Zellner
b9e0530ced Fill in the noops in the other backends 2017-01-10 11:13:33 +01:00
Johannes Zellner
cef93012bf Implement verifyDnsConfig() for manual dns 2017-01-10 11:12:38 +01:00
Johannes Zellner
bd099cc844 Implement verifyDnsConfig() for route53 2017-01-10 11:12:25 +01:00
Johannes Zellner
c1029ba3b0 Implement verifyDnsConfig() for digitalocean 2017-01-10 11:12:13 +01:00
Johannes Zellner
152025baa7 Add verifyDnsConfig() to the dns backend where it belongs 2017-01-10 11:11:41 +01:00
Girish Ramakrishnan
f6507ecbe3 noop dns backend does not wait for dns anymore 2016-12-14 14:56:03 -08:00