Skip to content

Commit

Permalink
Remove blocklist checking for MX records
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Jan 3, 2024
1 parent eb4f40f commit 9cb5bdd
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 205 deletions.
70 changes: 0 additions & 70 deletions src/dns-lookup/blocklists.ts

This file was deleted.

29 changes: 0 additions & 29 deletions src/dns-lookup/data/blocklists.ts

This file was deleted.

3 changes: 1 addition & 2 deletions src/dns-lookup/i18n/en/templates/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import app from "./app"
import dodns from "./dodns"
import mxBlocklist from "./mx_blocklist"
import records from "./records"
import truncatedRecord from "./truncated_record"
import whois from "./whois"
Expand All @@ -11,7 +10,7 @@ import clipboardModal from "./clipboard_modal"
import dmarcExplainer from "./dmarc_explainer"

export default {
app, dodns, mxBlocklist, records, truncatedRecord,
app, dodns, records, truncatedRecord,
whois, propagationModal, recordSelectionModal,
dnsDiff, clipboardModal, dmarcExplainer,
} as {[key: string]: {[key: string]: any}}
6 changes: 0 additions & 6 deletions src/dns-lookup/i18n/en/templates/mx_blocklist.ts

This file was deleted.

91 changes: 0 additions & 91 deletions src/dns-lookup/templates/mx_blocklist.vue

This file was deleted.

9 changes: 2 additions & 7 deletions src/dns-lookup/templates/record.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Copyright 2022 DigitalOcean
Copyright 2024 DigitalOcean
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -62,12 +62,9 @@ limitations under the License.
</div>
<div v-else>
{{ value.result }}
<div v-if="value.hostname">
<div v-if="value.ip">
<hr />
<WHOIS :ip="value.ip"></WHOIS>
<div v-if="recordType === 'MX'">
<MXBlocklist :ip="value.ip" :hostname="value.hostname ? value.hostname : ''"></MXBlocklist>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -127,7 +124,6 @@ limitations under the License.
import registrarRegexp from "../data/registrar_regexp"
import nsRegexp from "../data/ns_regexp"
import RecordTutorials from "../data/record_tutorials"
import MXBlocklist from "./mx_blocklist"
import RecordSkeleton from "./skeletons/record"
import i18n from "../i18n"
import DNSDiff from "./dns_diff"
Expand Down Expand Up @@ -160,7 +156,6 @@ limitations under the License.
components: {
TruncatedRecord,
WHOIS,
MXBlocklist,
RecordSkeleton,
DNSDiff,
ExternalLink,
Expand Down

0 comments on commit 9cb5bdd

Please sign in to comment.