diff --git a/tests/records.test.js b/tests/records.test.js index 3d802451cf..38ad3d69b1 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -290,6 +290,7 @@ t("All files should have valid records", (t) => { // Record type combinations validation if (recordKeys.includes("CNAME") && !data.proxied) { t.is(recordKeys.length, 1, `${file}: CNAME records cannot be combined with other records unless proxied`); + t.true(!recordKeys.includes("A") && !recordKeys.includes("AAAA"), `${file}: CNAME records cannot be combined with A or AAAA records`); } if (recordKeys.includes("NS")) { t.true(