We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 517e8df + e5f24d5 commit 5e7c3eeCopy full SHA for 5e7c3ee
interface/web/dns/dns_edit_base.php
@@ -112,7 +112,17 @@ function onSubmit() {
112
}
113
114
} // end if user is not admin
115
-
+
116
+ // Replace @ to example.com.
117
+ if($this->dataRecord["name"] === '@') {
118
+ $this->dataRecord["name"] = $soa['origin'];
119
+ }
120
121
+ // Replace * to *.example.com.
122
+ if($this->dataRecord["name"] === '*') {
123
+ $this->dataRecord["name"] = '*.' . $soa['origin'];
124
125
126
if($this->checkDuplicate()) $app->tform->errorMessage .= $app->tform->lng("data_error_duplicate")."<br>";
127
128
// Set the server ID of the rr record to the same server ID as the parent record.
0 commit comments