Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

query dns

read -p 'enter a domain ' c;for i in $(seq 1 8);do for a in $(echo ns`echo $i`.dynamichosting.cloud);do dig  $c +short @$a;echo $a;done;done | grep -A1 '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}'  | tail -n 4 ;d=$(for i in $(seq 1 8);do for a in $(echo ns`echo $i`.dynamichosting.cloud);do dig  $c +short @$a;echo $a;done;done | grep -o '[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}'); e=$(echo $d | awk '{print $1}');host $e 
 
PREVIOUS NEXT
Tagged: #query #dns
ADD COMMENT
Topic
Name
4+7 =