Brand Protection & Threat Monitoring
Investigate brand lookalikes using bounded DNS and threat checks
Investigate brand lookalikes using bounded DNS and threat checks. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
A generated lookalike is not necessarily registered or malicious, and threat feeds do not cover every campaign.
The Solution
Generate typo candidates, review observed DNS activity, and investigate selected domains with threat, trust, and registration checks. Preserve source coverage and timestamps. This workflow is a point-in-time investigation, not a continuous registry-wide registration feed or a takedown service.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/domain/threatAPI referenceDomain Threat Check: Check domain against malware and phishing databases
/v1/domain/typosquatsAPI referenceTyposquatting Detection: Detect typosquat domains that could impersonate your brand
/v1/ip/bogon/rangesAPI referenceBogon Ranges: Get all bogon IP ranges with RFC references
/v1/score/trustAPI referenceTrust Score: Evaluate domain trustworthiness from 7 signals
/v1/domain/whoisAPI referenceWHOIS Lookup: Get domain registration data via RDAP — the post-WHOIS standard. Detects privacy-proxy registrants and GDPR redactions.
What this workflow helps you do
Generate candidate domains
Use permutation results to choose an investigation scope.
Corroborate suspected abuse
Combine feed findings with observed content and ownership context.
Prepare investigation records
Keep evidence and follow the relevant provider reporting process.
Code Example
Investigate brand lookalikes using bounded DNS and threat checks
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/domain/threat",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/domain/typosquats",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/ip/bogon/ranges",
"params": {}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
ICANN DNS Abuse Mitigation
ICANN's resources and policies for reporting and mitigating DNS abuse including typosquatting and phishing
Anti-Phishing Working Group (APWG)
Global industry coalition focused on phishing research, threat data sharing, and countermeasure development
Palo Alto Unit 42: Newly Registered Domains
Research on how newly registered domains are weaponized for phishing and malware distribution campaigns
Ready to build Brand Protection & Threat Monitoring?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Domain Portfolio Protection
Investigate lookalike domains and changes to domains you own
SOC Analyst / Security OperationsSOC Alert Enrichment
Add domain and IP context to incident alerts
Fraud Analyst / Risk ManagerE-commerce Fraud Detection
Add domain and IP signals to transaction risk review