From 92c4b7e840bf5c73329e31e92bf34a747391ad8b Mon Sep 17 00:00:00 2001 From: Yashar Fakhari Date: Sun, 1 Dec 2019 13:32:57 -0800 Subject: [PATCH] Destroyed DNS 01 hook for DuckDNS (markdown) --- DNS-01-hook-for-DuckDNS.md | 49 -------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 DNS-01-hook-for-DuckDNS.md diff --git a/DNS-01-hook-for-DuckDNS.md b/DNS-01-hook-for-DuckDNS.md deleted file mode 100644 index dd06f1a..0000000 --- a/DNS-01-hook-for-DuckDNS.md +++ /dev/null @@ -1,49 +0,0 @@ -The following hook will work for the DNS-01 challenge with [duckdns.org](https://www.duckdns.org) - -```bash -#!/usr/bin/env bash - -# -# dns-01 challenge for DuckDNS -# https://www.duckdns.org/spec.jsp - -set -e -set -u -set -o pipefail - -domain="your-domain" -token="your-token" - -case "$1" in - "deploy_challenge") - curl "https://www.duckdns.org/update?domains=$domain&token=$token&txt=$4" - echo - ;; - "clean_challenge") - curl "https://www.duckdns.org/update?domains=$domain&token=$token&txt=removed&clear=true" - echo - ;; - "sync_cert") - ;; - "deploy_cert") - ;; - "deploy_ocsp") - ;; - "unchanged_cert") - ;; - "invalid_challenge") - ;; - "request_failure") - ;; - "generate_csr") - ;; - "startup_hook") - ;; - "exit_hook") - ;; - *) - echo Unknown hook "${1}" - exit 0 - ;; -esac -``` \ No newline at end of file