Girish Ramakrishnan
5d415d4d7d
make cloudflare, gandi, manual, noop, wildcard, netcup, godaddy, namecom async
2022-02-04 14:36:30 -08:00
Girish Ramakrishnan
0373fb70d5
make waitForDns async
...
cloudflare is partly broken
2022-02-03 17:35:45 -08:00
Girish Ramakrishnan
bf51bc25e9
dnsConfig -> domainConfig
...
this prepares for the incoming settings.getDnsConfig()
2022-01-05 22:56:10 -08:00
Girish Ramakrishnan
5bcf1bc47b
merge domaindb.js into domains.js
2021-08-16 14:41:42 -07:00
Girish Ramakrishnan
199eda82d1
Use Array.isArray instead
2021-05-02 11:26:47 -07:00
Girish Ramakrishnan
51cb3b0ba8
Move DomainsError to BoxError
2019-10-23 15:15:19 -07:00
Johannes Zellner
127b22d7ce
Add dns interface api to inject hidden files for verification
2019-02-09 19:09:51 +01:00
Johannes Zellner
32f8a52c2b
add provider specific removePrivateFields to redact tokens and secrets
2019-02-09 11:59:37 +01:00
Girish Ramakrishnan
65210ea91d
rework dns api to take domainObject
...
the DNS backends require many different params, it's just easier to
pass them all together and have backends do whatever.
For example, route53 API requires the fqdn. Some other backends require just the
"part" to insert.
* location - location in the database (where app is installed)
* zoneName - the dns zone name
* domain - domain in the database (where apps are installed into)
* name/getName() - this returns the name to insert in the DNS based on zoneName/location
* fqdn - the fully resolved location in zoneName
verifyDnsConfig also takes a domain object even if it's not in db just so that we can
test even existing domain objects, if required. The IP param is removed since it's not
required.
for caas, we also don't need the fqdn hack in dnsConfig anymore
2019-01-04 22:38:12 -08:00
Girish Ramakrishnan
3f0bc6165b
Enhance waitForDns to support TXT records
2018-09-11 19:41:38 -07:00
Johannes Zellner
163563f400
Remove now unused dnsRecordId
2018-06-29 23:14:06 +02: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
2ac12de204
Add domains.provider
2018-01-09 15:32:49 -08: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
191b84d389
Make value a regexp
2017-02-15 10:16:23 -08: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
Girish Ramakrishnan
f6507ecbe3
noop dns backend does not wait for dns anymore
2016-12-14 14:56:03 -08:00
Girish Ramakrishnan
3ede9af34b
remove subdomains.status
2016-12-14 14:47:03 -08:00
Girish Ramakrishnan
d475d9bcbf
Make waitForDns provider specific
...
This will allow us to create a proper 'noop' backend that does
not wait for dns to be in sync. This is required for local/intranet
setups.
2016-12-14 14:43:20 -08:00
Girish Ramakrishnan
1ef6eefaf6
dns: fix noop get/upsert
2016-10-08 14:38:59 -07:00
Girish Ramakrishnan
370e4f7c25
rename wildcard to noop
2016-10-08 13:00:40 -07:00