Skip to content

Commit 90f5323

Browse files
committed
ns records cannot be combined with service records
1 parent 8d404c7 commit 90f5323

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/records.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ t("All files should have valid records", (t) => {
286286
recordKeys.length === 1 || (recordKeys.length === 2 && recordKeys.includes("DS")),
287287
`${file}: NS records cannot be combined with other records, except for DS records`
288288
);
289+
t.true(!data.services, `${file}: Service records cannot be present when NS records are defined`);
289290
}
290291
if (recordKeys.includes("DS")) {
291292
t.true(recordKeys.includes("NS"), `${file}: DS records must be combined with NS records`);

0 commit comments

Comments
 (0)