chore(certmanager): check domain name has ip, then proceed
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
6f5bda117c
commit
87049b4633
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,11 @@ fatal()
|
|||
exit 1
|
||||
}
|
||||
|
||||
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."
|
||||
}
|
||||
|
||||
# Reading email address for ssl certificate
|
||||
[[ -z $EMAIL_ADDRESS ]] && {
|
||||
read -p "Enter your email address for letsencrypt certificate: " EMAIL_ADDRESS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue