2023-09-29 09:52:14 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
for url in \
|
|
|
|
https://corp-serv.net/.well-known/matrix/client \
|
|
|
|
https://corp-serv.net/.well-known/matrix/server \
|
|
|
|
https://element.corp-serv.net/ \
|
|
|
|
https://synapse.corp-apps.com/_matrix/client/versions; \
|
|
|
|
do
|
|
|
|
domain=$(echo $url | sed -e 's,https://,,' -e 's,/.*,,')
|
2023-09-29 10:21:56 +00:00
|
|
|
echo "Testing $url / $domain ..."
|
2023-09-29 09:52:14 +00:00
|
|
|
echo dig $domain
|
|
|
|
dig +short $domain
|
|
|
|
echo curl $url
|
|
|
|
curl -I $url
|
|
|
|
done
|