https://github.com/profcomff/caddy-dns-yandex-cloud
Caddy DNS provider for Yandex Cloud DNS
https://github.com/profcomff/caddy-dns-yandex-cloud
caddyserver dns yandex yandex-cloud
Last synced: about 19 hours ago
JSON representation
Caddy DNS provider for Yandex Cloud DNS
- Host: GitHub
- URL: https://github.com/profcomff/caddy-dns-yandex-cloud
- Owner: profcomff
- License: mit
- Created: 2024-01-11T12:30:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-04T21:06:22.000Z (about 1 year ago)
- Last Synced: 2024-11-28T11:08:41.422Z (11 months ago)
- Topics: caddyserver, dns, yandex, yandex-cloud
- Language: Go
- Homepage:
- Size: 113 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Yandex Cloud module for Caddy
This package contains a DNS provider module for [Caddy](https://github.com/caddyserver/caddy). It can be used to manage DNS records with Yandex Cloud accounts.
## Caddy module name
```
dns.providers.yandex_cloud
```## Config examples
To use this module for the ACME DNS challenge, [configure the ACME issuer in your Caddy JSON](https://caddyserver.com/docs/json/apps/tls/automation/policies/issuer/acme/) like so:
```json
{
"module": "acme",
"challenges": {
"dns": {
"provider": {
"name": "yandex_cloud",
"service_account_config_path": "YCLOUD_KEYS_FILE"
}
}
}
}
```or with the Caddyfile:
```
your.domain.com {
respond "Hello World" # replace with whatever config you need...
tls {
dns yandex_cloud {env.YCLOUD_KEYS_FILE}
}
}
```You can replace `{env.YCLOUD_KEYS_FILE}` with the actual authorized keys file if you prefer to put it directly in your config instead of an environment variable.
## Authenticating
See [the associated README in the libdns package](https://github.com/github.com/profcomff/libdns-yandex-cloud) for important information about credentials.