Girish Ramakrishnan
bd29447a7f
gcdns: Fix typo
2018-05-10 10:05:42 -07:00
Johannes Zellner
39dc5da05a
We have to return a value on dns record upserting
2018-05-09 18:58:09 +02:00
Johannes Zellner
94408c1c3d
Add name.com DNS provider
2018-05-09 18:13:14 +02:00
Girish Ramakrishnan
66f032a7ee
route53: use credentials instead of dnsConfig
2018-05-07 23:41:03 -07:00
Girish Ramakrishnan
60b5e6f711
gandi: add tests
2018-05-07 15:51:51 -07:00
Girish Ramakrishnan
b9166b382d
route53: set listHostedZonesByName for new/updated domains
2018-05-07 13:42:10 -07:00
Girish Ramakrishnan
da5d0c61b4
godaddy: workaround issue where there is no del record API
2018-05-07 11:41:37 -07:00
Girish Ramakrishnan
1f75c2cc48
route53: add backward compat for pre-2.2 IAM perms
...
backward compat for 2.2, where we only required access to "listHostedZones"
2018-05-07 11:24:34 -07:00
Girish Ramakrishnan
d0197aab15
Revert "No need to iterate over the hosted zones anymore"
...
This reverts commit e4a70b95f5 .
We will add backward compat route for pre-2.2 cloudrons
2018-05-07 11:23:28 -07:00
Johannes Zellner
e4a70b95f5
No need to iterate over the hosted zones anymore
2018-05-07 16:35:32 +02:00
Johannes Zellner
f4d3d79922
Query only requested Route53 zone
...
Fixes #550
2018-05-07 16:30:42 +02:00
Girish Ramakrishnan
9981ff2495
Add GoDaddy Domain API
2018-05-06 23:07:52 -07:00
Girish Ramakrishnan
722b14b13d
Add note on MX records
2018-05-06 22:14:39 -07:00
Girish Ramakrishnan
eb2fb6491c
gandi: more fixes
2018-05-06 21:16:47 -07:00
Girish Ramakrishnan
a53afbce91
Add Gandi LiveDNS backend
2018-05-06 19:48:51 -07:00
Girish Ramakrishnan
863afc68cb
DomainError -> DomainsError
2018-04-29 11:20:12 -07:00
Girish Ramakrishnan
6decc790d6
Follow CNAME records
...
DNS records can now be a A record or a CNAME record. All we care
about is them resolving to the public IP of the server somehow.
The main reason for this change is that altDomain is migrated into
domains table and the DNS propagation checks have to work after that.
(previously, the 'altDomain' was a signal for a CNAME check which now
cannot be done post-migration).
In the future, we can make this more sophisticated to instead maybe
do a well-known URI query. That way it will work even if there is
some proxy like Cloudflare in the middle.
Fixes #503
2018-02-08 15:43:31 -08:00
Girish Ramakrishnan
58386b0c54
remove resolveNs
2018-02-08 14:39:35 -08:00
Girish Ramakrishnan
101c1bda25
translate cancelled errors to timeout errors
2018-02-08 14:27:02 -08:00
Girish Ramakrishnan
d31c948d3e
Remove type argument from waitForDns
...
The function is going to be changed to handle only A/CNAME records
2018-02-08 14:24:11 -08:00
Girish Ramakrishnan
4d92aea2f3
Fix usage of callback
2018-02-08 14:10:32 -08:00
Girish Ramakrishnan
3b987f1970
DNS -> Dns
2018-02-08 12:05:29 -08:00
Girish Ramakrishnan
26c95a25b6
Use the native dns resolver
...
it now supports cancel()
also, fixes #514
2018-02-08 11:37:58 -08:00
Girish Ramakrishnan
ab447120dc
cloudflare: del returns 200 now
2018-01-23 14:52:41 -08:00
Girish Ramakrishnan
73800ac6a7
Linter fixes
2018-01-19 09:55:27 -08:00
Girish Ramakrishnan
ab66c8cb81
debug the zoneName in waitForDns
2018-01-09 16:09:47 -08:00
Girish Ramakrishnan
2ac12de204
Add domains.provider
2018-01-09 15:32:49 -08:00
Girish Ramakrishnan
cb814a50d7
Fix waitForDNSRecord for subdomain installations
2017-12-06 12:31:25 +05:30
Girish Ramakrishnan
693bc094cc
caas: make fqdn part of dns and s3 credentials
2017-11-28 22:44:40 -08:00
Girish Ramakrishnan
e9b308bb95
Re-purpose the zoneName as the caas domain
2017-11-28 15:00:38 -08:00
Girish Ramakrishnan
432a369bff
Add token to dnsConfig
2017-11-28 15:00:38 -08:00
Johannes Zellner
4cbb751d82
Fix usage of appFqdn in caas dns backend
2017-11-20 20:01:50 +01:00
Johannes Zellner
e1be8b669f
Do not rely on admin subdomain for dns backend config validation
2017-11-20 19:59:40 +01:00
Johannes Zellner
c723b289dc
Only validate the nameservers for manual dns backend
2017-11-20 19:59:40 +01:00
Johannes Zellner
260ac0afb7
Remove subdomains.js in favor of multidomain capable domains.js
2017-11-20 19:59:26 +01:00
Girish Ramakrishnan
d9ab1a78d5
Make the my location customizable
...
Fixes #22
2017-10-25 23:00:43 -07:00
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