mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-13 15:13:33 +01:00
Failure reported by nsupdate. Bailing out! #399
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wprauchholz on GitHub (Jan 16, 2019).
I run CENTOS 7 homerserver. Trying to obtain a certificate for wildcard domain. The process fails with error message :Failure reported by nsupdate. Bailing out!:
I added in the config file CHALLENGETYPE="dns-01" and HOOK="${SCRIPTDIR}/hook/hook.sh"
In the file hook.sh I set
[ -z "${NSUPDATE}" ] && NSUPDATE="/usr/bin/nsupdate -k /run/named/session.key"
[ -z "${SERVER}" ] && SERVER="<mydomain.com" (I also tried the IP address and www.<mydomain.com> too.
Any help is very welcome
Thanks you, Wolfgang
@lukas2511 commented on GitHub (Jan 18, 2019):
I'm not sure you understand how nsupdate is supposed to work, it connects to your primary nameserver and updates your zone.
You have to have the correct key to access the primary nameserver for your domain and you have to define your primary nameserver for nsupdate so it knows where to connect to.