13 lines
515 B
Bash
13 lines
515 B
Bash
#!/bin/bash
|
|
|
|
echo -e "${PURPLE}${BOLD}Enter the domain name of the website${RESET}"
|
|
read DOMAIN_NAME
|
|
|
|
check_global_const IP
|
|
|
|
echo -e "${PURPLE}${BOLD}Configure the ${DOMAIN_NAME} DNS ZONE as the following${RESET}"
|
|
echo -e "${BLUE}Domain : ${DOMAIN_NAME} | Type : A | Target : ${IP}${RESET}"
|
|
echo -e "${BLUE}Domain : cms.${DOMAIN_NAME} | Type : A | Target : ${ip}${RESET}"
|
|
echo -e "${BLUE}Domain : www.${DOMAIN_NAME} | Type : A | Target : ${ip}${RESET}"
|
|
echo -e "${PURPLE}${BOLD}Press any key when done${RESET}"
|
|
read |