simplydotcom

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Simply.com module for Caddy

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

Caddy module name

dns.providers.simplydotcom

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": "simplydotcom",
				"api_key": "YourSecretKey"
			}
		}
	}
}

or with the Caddyfile:

# globally
{
	acme_dns simplydotcom {
		api_key "YourSecretKey"
	}
}
# one site
secure.example.com {
	tls {
		dns simplydotcom {
			api_key "YourSecretKey"
		}
	}
}

# reusable import
(dnschallenge) {
	tls {
		dns simplydotcom <api_key>
	}
}

example.com {
	respond "Hello World" 
	import dnschallenge
}

The API key alone identifies the Simply.com account, see the Simply.com API documentation. The account_name option, and the <account_name> <api_key> form, are still accepted so existing configurations keep working, but the account name is no longer needed.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{ *libdnssimplydotcom.Provider }

Provider lets Caddy read and manipulate DNS records hosted by this DNS provider.

func (Provider) CaddyModule

func (Provider) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*Provider) Provision

func (p *Provider) Provision(ctx caddy.Context) error

TODO: This is just an example. Useful to allow env variable placeholders; update accordingly. Provision sets up the module. Implements caddy.Provisioner.

func (*Provider) UnmarshalCaddyfile

func (p *Provider) UnmarshalCaddyfile(d *caddyfile.Dispenser) error

UnmarshalCaddyfile sets up the DNS provider from Caddyfile tokens. Syntax:

simplydotcom [<api_key>] {
    api_key <api_key>
}

The older form with an account name before the API key is still accepted, but the account name is no longer needed.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址