# alidns **Repository Path**: zer00o/alidns ## Basic Information - **Project Name**: alidns - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-01-01 - **Last Updated**: 2025-01-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Alibaba Cloud DNS (AliDNS) 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 Alibaba Cloud (as is Aliyun or ALIYUN) accounts. ## Caddy module name ``` dns.providers.alidns ``` ## 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": "alidns", "access_key_id":"YOUR_ALIYUN_ACCESS_KEY_ID", "access_key_secret":"YOUR_ALIYUN_ACCESS_KEY_SECRET" } } } } ``` or with the Caddyfile: ``` # globally acme_dns alidns { access_key_id {env.ALIYUN_ACCESS_KEY_ID} access_key_secret {env.ALIYUN_ACCESS_KEY_SECRET} } ``` ``` # one site tls { dns alidns { access_key_id {env.ALIYUN_ACCESS_KEY_ID} access_key_secret {env.ALIYUN_ACCESS_KEY_SECRET} } } ``` You can replace `{env.ALIYUN_ACCESS_KEY_ID}`,`{env.ALIYUN_ACCESS_KEY_SECRET}` with the actual auth token in the `""` 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/libdns/alidns) for important information about credentials.