Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages