From e52fa41d959919a449f3ef167755735cc429a10d Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Fri, 24 Oct 2025 19:18:52 +0800 Subject: [PATCH] fix CNAME validation when proxied --- tests/records.test.js | 1 + 1 file changed, 1 insertion(+) 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(