fix(certmanager): check domain ip

Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
rjshrjndrn 2022-04-14 19:53:51 +02:00
parent 5cc49b9e9b
commit e35cc072e8

View file

@ -14,8 +14,8 @@ fatal()
}
read -p "enter openreplay domain name: " domain
nslookup domain > /dev/null || {
fatal "Domain name doesn't have ip associated with it. Please check your DNS record."
nslookup $domain > /dev/null || {
fatal "Domain name does not have ip associated with it. Please check your DNS record."
}
# Reading email address for ssl certificate