Skip to main content
Enterprise|Brand Protection Manager / Security Analyst

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.

GET
/v1/domain/threatAPI reference

Domain Threat Check: Check domain against malware and phishing databases

GET
/v1/domain/typosquatsAPI reference

Typosquatting Detection: Detect typosquat domains that could impersonate your brand

GET
/v1/ip/bogon/rangesAPI reference

Bogon Ranges: Get all bogon IP ranges with RFC references

GET
/v1/score/trustAPI reference

Trust Score: Evaluate domain trustworthiness from 7 signals

GET
/v1/domain/whoisAPI reference

WHOIS 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

javascript
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.

Ready to build Brand Protection & Threat Monitoring?

Get started with 200 free API requests per month. No credit card required.

Other Use Cases

Brand Protection & Threat Monitoring | EdgeDNS