mirror of
https://github.com/tiennm99/open-domains.git
synced 2026-10-15 04:18:52 +00:00
Merge branch 'main' into patch-1
This commit is contained in:
15 files changed
+14
-211
No files matched your search
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"domain": "localplayer.dev",
|
||||
"subdomain": "*.devhat",
|
||||
|
||||
"owner": {
|
||||
"email": "subramaniarun.sj59@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"TXT": ["zoho-verification=zb65903823.zmverify.zoho.in"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"description": ":D site",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.imrbk123abc",
|
||||
|
||||
"owner": {
|
||||
"repo": "https://github.com/wadwdwd/register1/",
|
||||
"email": "support@ohiominecraft.line.pm"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"CNAME": "heyayyu.github.io"
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.indreshp",
|
||||
|
||||
"owner": {
|
||||
"email": "indreshp135@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["144.24.138.210"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"description": "School project that will allow people to participate in the events.",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "jvgbet",
|
||||
|
||||
"owner": {
|
||||
"email": "gamekonts@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["195.201.160.55"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"description": "creating subdomain to accessing multiple services. eg. nginx proxy manager, adguard domain setup,",
|
||||
"domain": "localplayer.dev",
|
||||
"subdomain": "*.leo",
|
||||
|
||||
"owner": {
|
||||
"repo": "https://github.com/lenadlm/register",
|
||||
"email": "leo@leo101.aleeas.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["34.1.221.94"]
|
||||
},
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"domain": "localplayer.dev",
|
||||
"subdomain": "*.lsmithx2",
|
||||
|
||||
"owner": {
|
||||
"email": "lsmithx2@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["109.169.71.157"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"description": "IP finder Website for VPS ",
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.mithilesh",
|
||||
"owner": {
|
||||
"repo": "https://github.com/kingsmen732/Ip-Lookup",
|
||||
"email": "mitumithilesh2@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"A": ["76.76.21.21"]
|
||||
},
|
||||
"proxied": true
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"description": "My remote domain. Subdomain wildcards are used for accessing multiple SaaS application.",
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.rafat",
|
||||
"owner": {
|
||||
"email": "rafathasankhan@gmail.com"
|
||||
},
|
||||
"record": {
|
||||
"A": ["8.222.170.53"]
|
||||
},
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"description": "I'll be using the domain for some upcoming projects of mine which includes some ai stuff, and the wildcard for some of the hosting stuff this domain is hosted in a aws (ap-south-1)",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.shaurika",
|
||||
|
||||
"owner": {
|
||||
"email": "shauika.fx@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["13.126.95.149"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"description": "Personal Self Hosted Apps and Public Website.",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.system3",
|
||||
|
||||
"owner": {
|
||||
"email": "kazi.hossain@outlook.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["72.189.239.56"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
{
|
||||
"description": "An domain for the organization, the dev team. It is wildcard for all of their projects.",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.thedevteam",
|
||||
|
||||
"owner": {
|
||||
"repo": "https://github.com/tdevteam",
|
||||
"email": "TheDevTeam@protonmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["185.199.108.153",
|
||||
"185.199.109.153",
|
||||
"185.199.110.153",
|
||||
"185.199.111.153"],
|
||||
"AAAA": ["2606:50c0:8000::153",
|
||||
"2606:50c0:8001::153",
|
||||
"2606:50c0:8002::153",
|
||||
"2606:50c0:8003::153"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"description": "Learning deploy code to VPS",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.trist-tran",
|
||||
|
||||
"owner": {
|
||||
"email": "tmtzminhtri@gmail.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"A": ["157.245.128.111"]
|
||||
},
|
||||
|
||||
"proxied": false
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"description": "A self-bio ",
|
||||
|
||||
"domain": "is-cool.dev",
|
||||
"subdomain": "*.xzonix",
|
||||
|
||||
"owner": {
|
||||
"repo": "https://github.com/xzonix/Register.",
|
||||
"email": "xz1@dr.com"
|
||||
},
|
||||
|
||||
"record": {
|
||||
"CNAME": "xzonix.github.io"
|
||||
},
|
||||
"proxied": false
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
"subdomain": "soisyearbook",
|
||||
|
||||
"owner": {
|
||||
"email": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJfaWQiOiIxMzE4NDk3NjUiLCJ1c2VybmFtZSI6IjE3c2RoZWVyYWoiLCJlbWFpbCI6IjE3c2RoZWVyYWpAd2luZ2Fyci5ldS5vcmcifSwiZXhwaXJlc0luIjoiOTk5OXkiLCJpYXQiOjE3MjE1MzM2ODJ9.7wMG7oM75_RVLS7uWP0b0gqJOP_v9jsfxRq-UcqPlgM"
|
||||
"OWL": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InVzZXJfaWQiOiIxMzE4NDk3NjUiLCJ1c2VybmFtZSI6IjE3c2RoZWVyYWoiLCJlbWFpbCI6IjE3c2RoZWVyYWpAd2luZ2Fyci5ldS5vcmcifSwiZXhwaXJlc0luIjoiOTk5OXkiLCJpYXQiOjE3MjE1MzM2ODJ9.7wMG7oM75_RVLS7uWP0b0gqJOP_v9jsfxRq-UcqPlgM"
|
||||
},
|
||||
|
||||
"record": {
|
||||
|
||||
+13
-7
@@ -15,10 +15,10 @@ t("Nested subdomains should not exist without a parent subdomain", (t) => {
|
||||
|
||||
const subdomain = file.replace(/\.json$/, "");
|
||||
|
||||
if (subdomain.split(".").length > 1) {
|
||||
// Get parent domain by removing the last part (subdomain) from the full subdomain
|
||||
if (subdomain.split(".").length > 2) {
|
||||
// Get parent domain by removing the leftmost part
|
||||
const parentSubdomain = subdomain.split(".").slice(1).join(".");
|
||||
|
||||
|
||||
// Ensure the parent subdomain exists
|
||||
t.true(
|
||||
files.includes(`${parentSubdomain}.json`),
|
||||
@@ -40,16 +40,21 @@ t("Nested subdomains should not exist if the parent subdomain has NS records", (
|
||||
|
||||
const subdomain = file.replace(/\.json$/, "");
|
||||
|
||||
if (subdomain.split(".").length > 1) {
|
||||
// Get parent domain by removing the last part (subdomain) from the full subdomain
|
||||
if (subdomain.split(".").length > 2) {
|
||||
// Get parent domain by removing the leftmost part
|
||||
const parentSubdomain = subdomain.split(".").slice(1).join(".");
|
||||
|
||||
const parentFilePath = path.join(domainsPath, `${parentSubdomain}.json`);
|
||||
|
||||
// Check if the parent file exists before attempting to read it
|
||||
if (fs.existsSync(parentFilePath)) {
|
||||
const parentDomain = fs.readJsonSync(parentFilePath);
|
||||
t.is(parentDomain.record.NS, undefined, `${file}: Parent subdomain has NS records`);
|
||||
|
||||
// Check if the parent has NS records
|
||||
t.is(
|
||||
parentDomain.record.NS,
|
||||
undefined,
|
||||
`${file}: Parent subdomain ${parentSubdomain} has NS records`
|
||||
);
|
||||
} else {
|
||||
t.fail(`${parentSubdomain}.json file does not exist`);
|
||||
}
|
||||
@@ -58,3 +63,4 @@ t("Nested subdomains should not exist if the parent subdomain has NS records", (
|
||||
|
||||
t.pass();
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user