Crmgo Blog

Checking DNS Response with the dig Command

Checking DNS Response with the dig Command

yum install bind-utils #!/bin/sh ST=`date +%s%N` for i in `seq 1 100`; do dig ya.ru > /dev/null sleep 0.05 done let ST=(`date +%s%N`-$ST)/1000000 echo $ST should be within 5500

Checking DNS Response with the dig Command

 

yum install bind-utils

#!/bin/sh
ST=`date +%s%N`
for i in `seq 1 100`;
do
dig ya.ru > /dev/null
sleep 0.05
done
let ST=(`date +%s%N`-$ST)/1000000
echo $ST

should be within 5500

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.

Categories: FAQ