feat: diagnostic tool

This commit is contained in:
Strix 2024-02-09 14:53:41 +01:00
parent 1633e0cb64
commit 959721388e
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -0,0 +1,6 @@
#!/bin/sh
for target in $@; do
ip=$(dig $target +short)
printf "%-20s -> %20s (%s)\n" "$target" "$(dig -x $ip +short)" "$ip"
done