Skip to content

caddy-dns/westcn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

West.cn DNS module for Caddy

This package contains a DNS provider module for Caddy. It can be used to manage DNS records with West.cn DNS.

Caddy module name

dns.providers.westcn

Config examples

To use this module for the ACME DNS challenge, configure the ACME issuer in your Caddy JSON like so:

{
	"module": "acme",
	"challenges": {
		"dns": {
			"provider": {
				"name": "westcn",
				"username": "WESTCN_USERNAME",
				"api_password": "WESTCN_API_PASSWORD"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns westcn {
		username {env.WESTCN_USERNAME}
		api_password {env.WESTCN_API_PASSWORD}
	}
}
# one site
tls {
  dns westcn {
    username {env.WESTCN_USERNAME}
    api_password {env.WESTCN_API_PASSWORD}
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages