Skip to content

Commit

Permalink
Don't use drill
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Jun 3, 2023
1 parent ab06ee3 commit 3ca268b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnstest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


command -v bc > /dev/null || { echo "error: bc was not found. Please install bc."; exit 1; }
{ command -v drill > /dev/null && dig=drill; } || { command -v dig > /dev/null && dig=dig; } || { echo "error: dig was not found. Please install dnsutils."; exit 1; }
{ command -v dig > /dev/null && dig=dig; } || { echo "error: dig was not found. Please install dnsutils."; exit 1; }


NAMESERVERS=`cat /etc/resolv.conf | grep ^nameserver | cut -d " " -f 2 | sed 's/\(.*\)/&#&/'`
Expand Down

0 comments on commit 3ca268b

Please sign in to comment.