Skip to content

Commit

Permalink
Remove MX blocklist checking (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
MattIPv4 committed Jan 3, 2024
1 parent eb4f40f commit c8b0d4a
Show file tree
Hide file tree
Showing 6 changed files with 4 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.

10 changes: 3 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 All @@ -25,6 +25,7 @@ limitations under the License.
</h3>
<p>
<span v-html="recordDescription"></span>
{{ " " }}
<ExternalLink :link="recordUrl" :text="i18n.templates.records.learnMore" />
</p>
<div v-if="recordKeys.length === 0">
Expand Down Expand Up @@ -62,12 +63,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 +125,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 +157,6 @@ limitations under the License.
components: {
TruncatedRecord,
WHOIS,
MXBlocklist,
RecordSkeleton,
DNSDiff,
ExternalLink,
Expand Down

1 comment on commit c8b0d4a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit has been deployed to DigitalOcean Spaces for easy reviewing.

dns-lookup (Build Analysis Report) spf-explainer (Build Analysis Report)

Please sign in to comment.