Skip to content

This package contains a FastVPS DNS provider module for Caddy

License

Notifications You must be signed in to change notification settings

nf404/caddy-fastdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastDNS module for Caddy

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

Caddy module name

dns.providers.fastdns

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": "fastdns",
				"api_token": "{env.YOUR_FASTDNS_API_TOKEN}",
				"api_url": "{env.YOUR_FASTDNS_API_URL}"
			}
		}
	}
}
  • If api_url is not defined then used default URL

or with the Caddyfile:

your.domain.com {
	respond "Hello World"	# replace with whatever config you need...
	tls {
		dns fastdns {env.YOUR_FASTDNS_API_TOKEN} {env.YOUR_FASTDNS_API_URL}
	}
}

You can replace {env.YOUR_FASTDNS_API_TOKEN} with the actual auth token if you prefer to put it directly in your config instead of an environment variable.

Building caddy with this module

install xcaddy: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest

Then build caddy:

xcaddy build \
    --with github.com/nf404/caddy-fastdns@master

About

This package contains a FastVPS DNS provider module for Caddy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages