diff --git a/scripts/miaou b/scripts/miaou index 312612b..3b8fa4b 100755 --- a/scripts/miaou +++ b/scripts/miaou @@ -209,7 +209,7 @@ function build_dmz_certbot { subDomain=${fqdn%".${domain}"} echo "TODO: fqdn=${fqdn}, domain=${domain}" - local server_ip public_hostname + local server_ip server_ip=$(dig +short A "$fqdn") if [[ $server_ip == "$my_ip" ]]; then