inc/dns.inc.php
changeset 95 737a213ad90c
parent 94 6b4d19ef3de4
child 96 35cd9e082b90
equal deleted inserted replaced
94:6b4d19ef3de4 95:737a213ad90c
    68 		$wildcard = false;
    68 		$wildcard = false;
    69 	}
    69 	}
    70 
    70 
    71 	if ($name == "" || $name == "@") {
    71 	if ($name == "" || $name == "@") {
    72 		$name = $domain;
    72 		$name = $domain;
       
    73 	} else {
       
    74 		$name = $name . "." . $domain ;
    73 	}
    75 	}
    74 
    76 
    75 	if (preg_match('!@\.!i', $name))
    77 	if (preg_match('!@\.!i', $name))
    76 	{
    78 	{
    77 		$name = str_replace('@.', '@', $name);
    79 		$name = str_replace('@.', '@', $name);