We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a60675c commit 939af8dCopy full SHA for 939af8d
0x10-https_ssl/0-world_wide_web
@@ -11,7 +11,7 @@ function get_a_records(){
11
echo "The subdomain "$2" is a "$record_type" record and points to "$destination""
12
13
else
14
- subdomains=(www lb-01 web-01 web-01)
+ subdomains=(www lb-01 web-01 web-02)
15
for sub_d in "${subdomains[@]}"; do
16
response="$(dig "$sub_d.$1" | grep -i -A1 "answer section" | tail -n 1)"
17
destination="$(echo ""$response"" | awk '{ print $5 }')"
0 commit comments