Update checkRecords.js

This commit is contained in:
William Harrison authored and GitHub committed 2023-01-02 06:41:03 +08:00
1 parent 48ed3dd0af
commit f724ac89c7
1 file changed
-5
-5
View File
@@ -16,11 +16,6 @@ function checkRecords(data) {
return checkIfValidFQDN(data.target[recordType].value);
}
// Check if record name matches file name
if (recordType.toLowerCase() === 'a' || recordType.toLowerCase() === 'cname') {
if (data.target[recordType].name != /* Put file name value here */) return false;
}
return false;
}