Menu: | Home | All tasks | DNS | Ping host | TraceRoute host | Subnet Calculator | Check |
DNS Tool
Your IP address is and your hostname is ".$client_hname."";?>

DNS Query Tool

Enter hostname: QueryType:

$target resolved to "; if( eregi("[a-zA-Z]", $target) ) $ntarget = gethostbyname($target); else $ntarget = gethostbyaddr($target); $msg .= "$ntarget
"; $msg .= "
"; if ($recType) $msg .= "NT Command: nslookup -type=$recType $target"; $msg .= "

"; message($msg); } // function message: function message($msg){ echo "$msg"; flush(); } // function check windows DNS: function checkDNS($hostName, $recType = '') { if( $recType == '' ) $recType = "MX"; exec("nslookup -type=$recType $hostName", $result); $msg .= trim(nl2br(`nslookup -type=$recType $hostName`)); // echo "[MSG: $msg]"; message($msg); } ?>