6 lines
133 B
Bash
Executable file
6 lines
133 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for target in $@; do
|
|
ip=$(dig $target +short)
|
|
printf "%-20s -> %20s (%s)\n" "$target" "$(dig -x $ip +short)" "$ip"
|
|
done
|