Merge pull request #48701 from gameroman/txt-vercel-test

add test for TXT record when vercel and remove invalid files
This commit is contained in:
William Harrison authored and GitHub committed 2026-08-31 21:51:47 +08:00
commit e6306c6cbd
60 files changed
+27 -474

No files matched your search

-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Abdullah-Maqbool",
"email": "abdullah.maqbool.ahmad@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=abdullah.maqbool.is-a.dev,7d30d66cf0ff8ca544ba"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "harys722",
"discord": "1203357768610746385"
},
"records": {
"TXT": "vc-domain-verify=api.harys.is-a.dev,b2d0f84ae64d4a616aa5"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "joejo-joestar",
"email": "joecn2704@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=api.joestar.is-a.dev,261fa5c5e79622668073"
}
}
@@ -1,9 +0,0 @@
{
"owner": {
"username": "stanleysutton",
"email": "stanleysutton2510@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=betatesting.essentials.stan.is-a.dev,4872a8e0a9b99304e624"
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"owner": {
"username": "aloramiaa",
"email": "xaloramia@gmail.com",
"discord": "1236292707371057216"
},
"records": {
"TXT": "vc-domain-verify=drive.alora.is-a.dev,395400702612ae6db6a8"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"owner": {
"username": "tdbaophuc",
"email": "tdbaophuc@gmail.com"
},
"records": {
"TXT": [
"vc-domain-verify=evolvefit.phucbao.is-a.dev,7a9e8c32301fb1de11b8"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "fidxteam",
"email": "dev.farrellid@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=ab8acadd131fd3db1c7f"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "amartyaa"
},
"records": {
"TXT": "vc-domain-verify=finops-dc.amartya.is-a.dev,f5d79394fc50a30d95f4"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "kumar2005raj"
},
"records": {
"TXT": "vc-domain-verify=iamraj.is-a.dev.aa1f80c0a148f7c0a841"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "italofvm",
"email": "italofernandesvm@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.italodev.is-a.dev.4c7a452d2c042f701476"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "johanna-panganuron",
"email": "juwanakimxd@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=johanna.is-a-dev,a8a332b6c170b6ebc624"
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"owner": {
"username": "kazutokei"
},
"records": {
"TXT": [
"vc-domain-verify=kejo.is-a.dev.cc4db53450ff1accc0a9"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Kundan04",
"email": "kundanbadhe3@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=kundan.is-a.dev,eeefe85793d4e056a385"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "UserAAR",
"email": "amil.abdullazada@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=links.aar.is-a.dev,017018f50cf54056668a"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "whoschip",
"email": "itsjustchipoverhere@proton.me"
},
"records": {
"TXT": "vc-domain-verify=lution.chip.is-a.dev,a6fc8393655e22d7d480"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "stanleysutton",
"email": "stanleysutton2510@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=magicblacklist.stan.is-a.dev,91a5c579aaa49a8e4354"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "modym3984-tech",
"email": "modym3984@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=mahmoud-os.is-a-dev,13d8dd46ce2a1399dd56"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "alfinakash",
"email": "alfinakash2001@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=mariyamsyed.is-a.dev,f96c14419110b8530536"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Muthumanickam1521",
"email": "pearlrubymv@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=is-a.dev,d0dde3884007f2751095"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Nagraj-13",
"email": "nagrajy131200350@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=nr.is-a.dev,89f977ffeb1174ae531e"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"owner": {
"username": "thanhngao27112010-netizen",
"email": "thanhngao27112010@gmail.com"
},
"records": {
"TXT": [
"vc-domain-verify=5d97161c88494eb701e8"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Ayomi789",
"email": "salakolateef07@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=portfolio.ife.is-a.dev,f30f2784a3b6713514d6"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Prakashmaheshwaran",
"email": "pmaheshwaran@binghamton.edu"
},
"records": {
"TXT": "vc-domain-verify=kash.is-a.dev,3eae4b9e5c818c9f6ae6"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Prashantrwt007",
"email": "prashantrwt007@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=prashantrawat.is-a-dev,63c1de0eef78fee3d013"
}
}
-10
View File
@@ -1,10 +0,0 @@
{
"owner": {
"username": "aloramiaa",
"email": "xaloramia@gmail.com",
"discord": "1236292707371057216"
},
"records": {
"TXT": "vc-domain-verify=profile.alora.is-a.dev,71bd18cc5db61dc75f91"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "revansp",
"email": "revanspstudy28@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=reiiv.is-a.dev,82bf39e1f2c36339a232"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "shauryamanitripathi",
"email": "shaurya.deoria@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=shaurya-mani-tripathi.is-a.dev,8a2bb82f49449e71cceb"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Demaestro5",
"email": "osstephen70@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=stephenportfpolio.is-a.dev,07857de21b71d0489088"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "stilllydev",
"email": "fishyboblox555@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=is-a.dev,7fda0bf99493e71480e0"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "webdryk",
"email": "saamebley@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=success.s-a.dev,5448eabc9ed80dc8c701"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "p55d2k",
"email": "peanutandscuffy1@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=thegist.zk.is-a.dev,810228785342252500f7"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Thiannight",
"email": "thianntatiana@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.thiannight.is-a.dev,e9210092643da8660c73"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "joejo-joestar",
"email": "joecn2704@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=tools.joestar.is-a.dev,a42661483cd40eed3bdf"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "callmesukhi"
},
"records": {
"TXT": "vc-domain-verify=tools.sukhi.is-a.dev,31937bb41e6dc6ce7144"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "aloramiaa",
"email": "xaloramia@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=verify.alora.is-a.dev,df9b78e72bc7a2889bc8"
}
}
-13
View File
@@ -1,13 +0,0 @@
{
"description": "Personal portfolio and development website",
"repo": "https://github.com/vinod-codes",
"owner": {
"username": "vinod-codes",
"email": "vinodmanjula08@gmail.com"
},
"records": {
"TXT": [
"vc-domain-verify=vinod-codes.is-a-dev,b5572bddde1fb2e78b68"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "qwetls",
"discord": "xeyyzu"
},
"records": {
"TXT": "vc-domain-verify=www.aha-lang.is-a.dev,b2b73ffa6ed690375bd6"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "amartyaa"
},
"records": {
"TXT": "vc-domain-verify=www.amartya.is-a.dev,fc459981f1e55eed10b9"
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "anfastech"
},
"records": {
"TXT": "vc-domain-verify=anfas.is-a.dev,a85ba16fbba5862e877f"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "kpriyanshu2003",
"email": "kpriyanshu2003@outlook.com"
},
"records": {
"TXT": "vc-domain-verify=www.kpriyanshu2003.is-a.dev,1a8358902b1e415cf03b"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "mirzazaman",
"email": "mirzazaman828@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.mzaman.is-a.dev,8e506d0c2f036f07acfd"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "PramudithaN",
"email": "pramudithanadun@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.pramuditha.is-a.dev,ecebc5343b66f6a29848"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"owner": {
"username": "Sai2507",
"email": "sairajeev2002@gmail.com"
},
"records": {
"TXT": [
"vc-domain-verify=www.sairajeev.is-a.dev,f9297a89c2dd764cc191"
]
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"owner": {
"username": "umersanii",
"email": "iamumersani@gmail.com"
},
"records": {
"TXT": [
"vc-domain-verify=www.sani.is-a.dev,f47279c09de88964db5c"
]
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "Shreshth-1",
"email": "shresthtyagi2004@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.shreshth.is-a.dev,a0040d97a366c20ce332"
}
}
-11
View File
@@ -1,11 +0,0 @@
{
"owner": {
"username": "srishtiagarwall",
"email": "srishti@growthz.ai"
},
"records": {
"TXT": [
"vc-domain-verify=www.srishti.is-a.dev,b833e6f0811b28f851af"
]
}
}
-8
View File
@@ -1,8 +0,0 @@
{
"owner": {
"username": "tejachundru"
},
"records": {
"TXT": "vc-domain-verify=www.tejachundru.is-a.dev,22761f05d50c54b81350"
}
}
-9
View File
@@ -1,9 +0,0 @@
{
"owner": {
"username": "NagaPranathiRallabandi",
"email": "nagapranathi.rallabandi@gmail.com"
},
"records": {
"TXT": "vc-domain-verify=www.vanamali.is-a.dev,826143fc76cef08ac433"
}
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"76.76.21.21"
],
"TXT": [
"vc-domain-verify=ahmed-zarir.is-a.dev,c666ff71f632fb08c722"
]
}
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"76.76.21.21"
],
"TXT": [
"vc-domain-verify=ahmedzarir.is-a.dev,3f304f387027101ae2f9"
]
}
}
+1 -4
View File
@@ -4,10 +4,7 @@
"email": "mrsinghashvin@gmail.com"
},
"records": {
"CNAME": "portfolioo-azure-chi.vercel.app",
"TXT": [
"vc-domain-verify=www.ash-vin.is-a.dev,593ad91ed60c1d1fbbf7"
]
"CNAME": "portfolioo-azure-chi.vercel.app"
},
"proxied": true
}
-3
View File
@@ -8,9 +8,6 @@
"records": {
"A": [
"216.198.79.1"
],
"TXT": [
"vc-domain-verify=ayches.is-a.dev,c971faef1bcfbb3ac124"
]
}
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"76.76.21.21"
],
"TXT": [
"vc-domain-verify=jayashree.is-a.dev,76dbbf5cd4864a4c7792"
]
}
}
+1 -2
View File
@@ -6,7 +6,6 @@
"records": {
"A": [
"76.76.21.21"
],
"TXT": "vc-domain-verify=lorenzoandreotta.is-a.dev,05a917f01aa47460f728"
]
}
}
+1 -2
View File
@@ -6,8 +6,7 @@
"discord": "eln_meht"
},
"records": {
"CNAME": "thankful-beach-04863d303.6.azurestaticapps.net",
"TXT": "vc-domain-verify=mehtiyev.is-a.dev,_x65jujuilutr796n9mg5yz0zkhpv8s6"
"CNAME": "thankful-beach-04863d303.6.azurestaticapps.net"
},
"proxied": true
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"216.198.79.1"
],
"TXT": [
"vc-domain-verify=shardendumishra22.is-a.dev,0e596131597808b6babe"
]
}
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"76.76.21.21"
],
"TXT": [
"vc-domain-verify=shreyans.is-a.dev,0517fbfcf1a18a360902"
]
}
}
-3
View File
@@ -6,9 +6,6 @@
"records": {
"A": [
"216.198.79.1"
],
"TXT": [
"vc-domain-verify=trantienhunggg.is-a.dev,c1079be7e06e6712bb3c"
]
}
}
+1 -2
View File
@@ -5,7 +5,6 @@
},
"proxied": true,
"records": {
"CNAME": "portfolio-git-main-yaagnik-patels-projects.vercel.app",
"TXT": "vc-domain-verify=yagnik.is-a.dev,a847575435db916293d3"
"CNAME": "portfolio-git-main-yaagnik-patels-projects.vercel.app"
}
}
+23
View File
@@ -238,6 +238,22 @@ function validateRecordValues(t, data, file) {
const values = Array.isArray(value) ? value : [value];
values.forEach((record, idx) => {
t.true(typeof record === "string", `${file}: TXT record value should be a string at index ${idx}`);
if (record.startsWith("vc-domain-verify=")) {
t.true(
file.startsWith("_vercel."),
`${file}: vc-domain-verify TXT records are only allowed in files starting with _vercel.`
);
const domainToken = record.split("vc-domain-verify=")[1].split(",")[0];
const targetName = file.replace(/^_vercel\./, "").replace(/\.json$/, "");
const expectedDomain = `${targetName}.is-a.dev`;
t.true(
domainToken === expectedDomain || domainToken.endsWith(`.${expectedDomain}`),
`${file}: Vercel TXT record domain (${domainToken}) must be '${expectedDomain}' or end with '.${expectedDomain}'`
);
}
});
}
});
@@ -280,6 +296,13 @@ function validateRecordValues(t, data, file) {
t("All files should have valid records", (t) => {
files.forEach((file) => {
if (file.startsWith("_vercel")) {
t.true(
/^_vercel\.[^.]+\.json$/.test(file),
`${file}: Files starting with '_vercel' must have format '_vercel.<name>.json'`
);
}
const data = getDomainData(file);
const recordKeys = Object.keys(data.records);