Version: 1.0

Type: Full Script

Category: Networking

License: GNU General Public License

Description: Check DNS records, enter a name of box and you will se thi IP. :-D Version 1 is without ping sorry but next version will be better maybe :-D

<head><title>CHECK DNS RECORD</title></head>
<center><h2>Check your DNS record.....</h2></center>
<div align=center>
<form action=dns_record.php method=post name=formular>
<input type=text name=target>
<input type=submit>
   $vypis=checkdnsrr($target, "A");
   $vykonej=EscapeShellCmd("nslookup $target");
/*   $pingni=EscapeShellCmd("ping -c 1 $target");*/
/*   $pinguj=exec($pingni, $pole2);*/
/*   $velikost2=sizeof($pole2);*/

	if($vypis == 1) {   
			for($i=0;$i<$velikost;$i++) {
			echo "<center>$pole[$i]<br></center>";
	echo "<hr>";
	echo "<font color=red>Box $target is registered in DNS.</font><br>";
	echo "Box is probably not in DNS.";