domain test: add header

This commit is contained in:
Nico Schottelius 2023-09-29 12:21:56 +02:00
parent 9ac0ed0750
commit dbcfc26b8e

View file

@ -7,6 +7,7 @@ for url in \
https://synapse.corp-apps.com/_matrix/client/versions; \ https://synapse.corp-apps.com/_matrix/client/versions; \
do do
domain=$(echo $url | sed -e 's,https://,,' -e 's,/.*,,') domain=$(echo $url | sed -e 's,https://,,' -e 's,/.*,,')
echo "Testing $url / $domain ..."
echo dig $domain echo dig $domain
dig +short $domain dig +short $domain
echo curl $url echo curl $url