fix(certmanager): check domain ip
Signed-off-by: rjshrjndrn <rjshrjndrn@gmail.com>
This commit is contained in:
parent
5cc49b9e9b
commit
e35cc072e8
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue