From c27aa82624fae7954ce3ab8792a9c1f19f05a44f Mon Sep 17 00:00:00 2001 From: PLANTROON Date: Wed, 1 May 2019 01:50:09 +0200 Subject: [PATCH] Adding NSD API --- dnsapi.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dnsapi.md b/dnsapi.md index 94bca66..bab28bf 100644 --- a/dnsapi.md +++ b/dnsapi.md @@ -1428,6 +1428,24 @@ After that you can issue a new certificate: ``` acme.sh --issue --dns dns_ddnss -d example.com ``` + +## 75. Use NLnetLabs NSD + +You need to export two variables. Your zonefile which the script will automatically edit: +``` +export Nsd_ZoneFile="/etc/nsd/zones/example.com.zone" +``` +And something that calls the nsd-control reload command, either via a script: +``` +export Nsd_Command="/usr/local/bin/sign-and-update.sh example.com" +``` +or directly: +``` +export Nsd_Command="sudo nsd-control reload example.com" +``` + +The variables are saved per-domain, not per-account. + --------------------------------- # Use custom API