diff --git a/interface/web/dns/dns_edit_base.php b/interface/web/dns/dns_edit_base.php index e2e504bff56a9fdfa97ca484b236b0cfbaadc109..f12c38e81845911614f3192144ffa165f544e987 100644 --- a/interface/web/dns/dns_edit_base.php +++ b/interface/web/dns/dns_edit_base.php @@ -113,12 +113,12 @@ class dns_page_action extends tform_actions { } } // end if user is not admin - //* Replace @ to domain name + // Replace @ to example.com. if(stristr($this->dataRecord["name"], '@')) { $this->dataRecord["name"] = str_replace('@', $soa['origin'], $this->dataRecord["name"]); } - //* Replace * to *.example.com. + // Replace * to *.example.com. if(stristr($this->dataRecord["name"], '*')) { $this->dataRecord["name"] = str_replace('*', '*.' . $soa['origin'], $this->dataRecord["name"]); }