We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdf94dc commit d2122f8Copy full SHA for d2122f8
bin/v-add-letsencrypt-domain
@@ -113,6 +113,15 @@ else
113
proto="http-01"
114
fi
115
116
+# Check if dns records exist for requested domain/aliases
117
+if [ "$proto" = "http-01"]; then
118
+ for identifier in $(echo $domain,$aliases |tr ',' '\n' |sort -u); do
119
+ if ! nslookup "${identifier}" >/dev/null 2>&1 ; then
120
+ check_result $E_NOTEXIST "DNS record for $identifier doesn't exist"
121
+ fi
122
+ done
123
+fi
124
+
125
# Requesting nonce / STEP 1
126
answer=$(curl -s -I "$LE_API/directory")
127
nonce=$(echo "$answer" |grep Nonce |cut -f2 -d \ |tr -d '\r\n')
0 commit comments