Girish Ramakrishnan
6c7341b9f3
cloudflare: list recordrecord API does not return zone_id anymore
2025-01-31 23:05:16 +01:00
Girish Ramakrishnan
d1da77d6bc
const
2025-01-31 09:47:31 +01:00
Girish Ramakrishnan
6cd97d2cb9
remove usage of util.format
2025-01-31 09:46:06 +01:00
Girish Ramakrishnan
3728d8ecc1
porkbun: incorrect usage of promises
2024-12-16 14:07:03 +01:00
Girish Ramakrishnan
dcca524726
porkbun: timeout for all requests flat out
2024-12-16 10:03:16 +01:00
Girish Ramakrishnan
1d0f3a08f4
porkbun: it is really slow
2024-12-16 09:46:38 +01:00
Girish Ramakrishnan
26caacc12e
Fix debugs
2024-11-30 10:18:48 +01:00
Girish Ramakrishnan
78520e09c3
domains: add inwx provider
2024-11-26 19:13:33 +05:30
Girish Ramakrishnan
5e3857fd3d
Fix assert
...
NETWORK_ERROR is usually an AggregateError which causes an
assert in BoxError
2024-11-19 17:08:55 +05:30
Girish Ramakrishnan
ba75c7ddaa
porkbun: api endpoint has changed
...
https://porkbun.com/api/json/v3/documentation
2024-10-12 10:58:21 +02:00
Girish Ramakrishnan
ce5a2b1f0a
gandi: use PAT token instead
...
https://api.gandi.net/docs/authentication/
2024-10-08 17:51:01 +02:00
Girish Ramakrishnan
777834d790
dig: set tries parameter
2024-09-18 15:25:48 +02:00
Girish Ramakrishnan
cd5cae33ce
dns: switch over to systemd for the host
...
this changes unbound to listen to 127.0.0.150 (150 is roman CL)
we cannot only bind on docker bridge because unbound is relied
upon for the initial domain setup. docker itself is only initialized
when the platform initializes
2024-04-29 11:06:03 +02:00
Girish Ramakrishnan
efa1acddd4
dns: unregister domains if type is disabled
2024-04-27 18:43:31 +02:00
Girish Ramakrishnan
2da361a1f2
waitfordns: resolve and check against NS' IPv6 address
2024-04-26 19:12:53 +02:00
Girish Ramakrishnan
23e20b9b83
waitfordns: better debugs
2024-04-26 14:46:01 +02:00
Girish Ramakrishnan
f6e4f1aefc
network: ipv4 can be disabled
2024-04-25 15:50:42 +02:00
Girish Ramakrishnan
cae2bfbdc2
domains: add desec provider
2024-04-24 21:29:42 +02:00
Girish Ramakrishnan
8b0bcde7ec
cloudflare: result is now null and not empty array
2024-04-01 17:58:40 +02:00
Girish Ramakrishnan
d862f1f5b4
cloudflare: fix crash when result is null
2024-04-01 17:31:20 +02:00
Johannes Zellner
0dfadc5922
remove extra quotes on digitalocean DNS TXT records
2024-01-17 18:35:48 +01:00
Girish Ramakrishnan
afe670b49c
cloudflare: use response.text since json may not be valid
2024-01-16 12:34:18 +01:00
Girish Ramakrishnan
33a97d0e50
cloudflare: validate response fields
2024-01-12 14:52:24 +01:00
Girish Ramakrishnan
ca31dc8d78
namecheap: fix TLD
...
continuation of 6cdb448f62
2024-01-09 09:44:24 +01:00
Girish Ramakrishnan
6cdb448f62
namecheap: pass the TLD correctly
...
this is safe because namecheap does not allow external domains to be hosted.
otherwise, we would have to use tldjs
2024-01-08 11:54:37 +01:00
Girish Ramakrishnan
c842d02d6f
namecheap: slow down requests for rate limit
...
https://www.namecheap.com/support/knowledgebase/article.aspx/9739/63/api-faq/#z
2024-01-07 22:01:42 +01:00
Girish Ramakrishnan
672b472359
hetzner: typo in error message
2023-12-27 20:41:34 +01:00
Girish Ramakrishnan
37ed87f9c1
route53: retry on rate limit
...
route53 has a limit of 5 req/sec/region - https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-requests
see https://forum.cloudron.io/topic/10656/improve-dns-updates-to-avoid-rate-limits/
2023-12-27 12:23:09 +01:00
Girish Ramakrishnan
759f3f29f0
hetzner: accomodate other nameservers
2023-12-05 18:13:34 +01:00
Girish Ramakrishnan
be35926fd1
ovh: accomodate anycast.me servers
2023-12-05 14:04:16 +01:00
Girish Ramakrishnan
efd42b7293
ovh: fix nameserver matching
...
there's a whole bunch: ovh.ca, ovh.us, ovh.com, ovhcloud.com, ovh.co.uk
https://forum.cloudron.io/topic/10435/limitation-with-dns-using-ovh-in-validating-name-server-domains-domain-nameservers-are-not-set-to-ovh
2023-11-16 10:27:59 +01:00
Girish Ramakrishnan
b88afbac4e
dns: add ovh backend
2023-11-06 15:22:24 +01:00
Girish Ramakrishnan
eb1f3d8b55
dns: add dnsimple
2023-10-24 00:26:10 +02:00
Girish Ramakrishnan
ceb908bee7
Use constants.TEST
2023-10-01 13:52:19 +05:30
Girish Ramakrishnan
4653d6fdef
waitfordns: ignore REFUSED error
2023-09-10 06:17:46 +05:30
Girish Ramakrishnan
47d57a3971
fold sysinfo into network
...
the backends are network backends
2023-08-03 13:38:42 +05:30
Johannes Zellner
be4b93ea2a
namecheap: ensure we don't fail if no dns records exist
2023-07-19 14:51:42 +02:00
Girish Ramakrishnan
5f0bcf62dd
dig: use built-in resolver timeout
2023-06-30 19:09:19 +05:30
Johannes Zellner
35efdf6cbd
Support both sets of Hetzner nameservers
2023-05-31 18:25:09 +02:00
Girish Ramakrishnan
4a1cdd4ef1
Update aws-sdk and suppress maintenance mode message
...
https://github.com/aws/aws-sdk-js/issues/4354
2023-05-11 22:18:00 +02:00
Girish Ramakrishnan
a846dc5bf1
add bunny
2023-04-21 12:14:06 +02:00
Girish Ramakrishnan
c4f4f3e914
logs: use %o to format error
...
otherwise, they are printed as multi-line and this messes up tail+date formatting
2023-04-16 10:49:59 +02:00
Girish Ramakrishnan
33ad0829ad
Add workaround for porkbun rate limit
2023-03-18 16:20:17 +01:00
Girish Ramakrishnan
f74e2cbee3
porkbun: cleanup implementation
2023-03-18 09:58:04 +01:00
Girish Ramakrishnan
3616fbb51c
dns: add porkbun
...
domain setup ui
2023-03-16 20:21:39 +01:00
Girish Ramakrishnan
ef3d23ebd9
Fix error message
2023-03-14 11:35:10 +01:00
Girish Ramakrishnan
f9ec2bc06a
cloudflare: add config for default value of proxied
2023-02-11 10:07:46 +01:00
Girish Ramakrishnan
2b260c873f
cname fix again
...
e4d9dbb558 left out this line by mistake
2023-01-26 12:55:38 +01:00
Girish Ramakrishnan
e4d9dbb558
dns: resolve cname records using unbound
...
cname record can be external and the original NS may not respond to
recursive queries
2023-01-25 09:57:57 +01:00
Girish Ramakrishnan
b70572a6e9
dns: fqdn only needs domain string
...
This is from the caas days, when we had hyphenated subdomains flag
2022-11-28 21:56:25 +01:00