for NAMESERVER in ns name; do for ENVIRONMENT in staging live; do ANSWER=$( dig +noall +answer @"${NAMESERVER}".noris.de db5."${ENVIRONMENT}".XXXX.noris.de); echo -e "Nameserver: ${NAMESERVER}\nAnswer:\n${ANSWER}"; done; done;
NAMESERVER="dns0.noris.net"; for ENVIRONMENT in staging live; do ANSWER=$( dig +noall +answer @"${NAMESERVER}" db5."${ENVIRONMENT}".XXXX.noris.de); echo -e "Nameserver: ${NAMESERVER}\nAnswer:\n${ANSWER}"; echo -e "\n"; done;