Dynamic dns plugin for Caddy server (on this moment support cloudflare and yandex)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Caddyfile Add files via upload Dec 11, 2017
LICENSE Initial commit Nov 14, 2017
README.md Update README.md Jan 16, 2018
caddy-dyndns.go Add files via upload Dec 11, 2017
cloudflare.go Add files via upload Dec 11, 2017
yandex.go Add files via upload Dec 11, 2017



Dynamic dns plugin for Caddy server (on this moment supports https://www.cloudflare.com/ and https://pdd.yandex.ru/ providers protocols). Link in official caddyserver repository: https://caddyserver.com/docs/dyndns

Make this steps for compilation caddy with plugin caddy-dyndns:

  • add directive in var section: "dyndns", //github.com/linkonoid/caddy-dyndns (in file github.com\mholt\caddy\caddyhttp\httpserver\plugin.go)
  • add in import section _ "github.com/linkonoid/caddy-dyndns" (in caddymain/run.go)
  • add directives in Caddyfile

Use "dyndns" directives in your configuration Caddyfile:

dyndns {

provider cloudflare

ipaddress http://whatismyip.akamai.com/

auth *****af380b8d3 *****@*****.com

domains *****.com www.*****.com

period 30m



provider: cloudflare/yandex - name dns provider

ipaddress: http-url/remote/local/xxx.xxx.xxx.xxx - get external IP from remote server (http://whatismyip.akamai.com/, http://ipv4.myexternalip.com/raw or other with body in RAW format)/get remote IP auto in local mode/ get local IP auto)/Hand your IP xxx.xxx.xxx.xxx

auth: AuthApikeyToken - authentification token and via space Email - email address (for yandex - not present)

domains: name.tld - list of domains to update via space symbol

period: XXs/XXm/XXh/XXd - time period ip update (s - seconds, m - minutes, h - hours, d - days)