feat: diagnostic tool
This commit is contained in:
parent
1633e0cb64
commit
959721388e
1 changed files with 6 additions and 0 deletions
6
tools/diagnostics/domain-lookup.sh
Executable file
6
tools/diagnostics/domain-lookup.sh
Executable 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
|
Loading…
Reference in a new issue