mirror of
https://github.com/jakejarvis/hoot.git
synced 2025-10-18 20:14:25 -04:00
Filter out empty DNS record values in DnsRecordsSection component
This commit is contained in:
@@ -64,9 +64,11 @@ export function DnsRecordsSection({
|
||||
TXT: [],
|
||||
NS: [],
|
||||
};
|
||||
records?.forEach((r) => {
|
||||
byType[r.type].push(r);
|
||||
});
|
||||
records
|
||||
?.filter((r) => r.value !== "")
|
||||
.forEach((r) => {
|
||||
byType[r.type].push(r);
|
||||
});
|
||||
return byType;
|
||||
}, [records]);
|
||||
|
||||
|
@@ -223,6 +223,17 @@ export const HOSTING_PROVIDERS: Array<
|
||||
category: "hosting",
|
||||
rule: { kind: "headerPresent", name: "ghost-fastly" },
|
||||
},
|
||||
{
|
||||
name: "Substack",
|
||||
domain: "substack.com",
|
||||
category: "hosting",
|
||||
rule: {
|
||||
all: [
|
||||
{ kind: "headerEquals", name: "x-served-by", value: "substack" },
|
||||
{ kind: "headerPresent", name: "x-sub" },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Bunny.net",
|
||||
domain: "bunny.net",
|
||||
@@ -328,6 +339,8 @@ export const EMAIL_PROVIDERS: Array<
|
||||
any: [
|
||||
{ kind: "mxSuffix", suffix: "mail.protonmail.ch" },
|
||||
{ kind: "mxSuffix", suffix: "mailsec.protonmail.ch" },
|
||||
{ kind: "mxSuffix", suffix: "alias.proton.me" },
|
||||
{ kind: "mxSuffix", suffix: "simplelogin.co" },
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -425,6 +438,40 @@ export const EMAIL_PROVIDERS: Array<
|
||||
category: "email",
|
||||
rule: { kind: "mxSuffix", suffix: "pphosted.com" },
|
||||
},
|
||||
{
|
||||
name: "Barracuda Email Essentials",
|
||||
domain: "barracuda.com",
|
||||
category: "email",
|
||||
rule: { kind: "mxSuffix", suffix: "ess.barracudanetworks.com" },
|
||||
},
|
||||
{
|
||||
name: "Panda Security",
|
||||
domain: "pandasecurity.com",
|
||||
category: "email",
|
||||
rule: { kind: "mxSuffix", suffix: "mep.pandasecurity.com" },
|
||||
},
|
||||
{
|
||||
name: "Hornetsecurity",
|
||||
domain: "hornetsecurity.com",
|
||||
category: "email",
|
||||
rule: { kind: "mxSuffix", suffix: "hornetsecurity.com" },
|
||||
},
|
||||
{
|
||||
name: "Trend Micro Email Security",
|
||||
domain: "trendmicro.com",
|
||||
category: "email",
|
||||
rule: {
|
||||
any: [
|
||||
{ kind: "mxSuffix", suffix: "tmes.trendmicro.com" },
|
||||
{ kind: "mxSuffix", suffix: "tmes.trendmicro.eu" },
|
||||
{ kind: "mxSuffix", suffix: "tmes-anz.trendmicro.com" },
|
||||
{ kind: "mxSuffix", suffix: "tmems-jp.trendmicro.com" },
|
||||
{ kind: "mxSuffix", suffix: "tmes-sg.trendmicro.com" },
|
||||
{ kind: "mxSuffix", suffix: "tmes-in.trendmicro.com" },
|
||||
{ kind: "mxSuffix", suffix: "tmes-uae.trendmicro.com" },
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Amazon WorkMail",
|
||||
domain: "aws.amazon.com",
|
||||
@@ -946,7 +993,7 @@ export const REGISTRAR_PROVIDERS: Array<
|
||||
},
|
||||
{
|
||||
name: "Tucows",
|
||||
domain: "tucows.com",
|
||||
domain: "tucowsdomains.com",
|
||||
category: "registrar",
|
||||
rule: {
|
||||
any: [
|
||||
|
Reference in New Issue
Block a user