Domain Portfolio Protection
Investigate lookalike domains and changes to domains you own
Investigate lookalike domains and changes to domains you own. 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
Lookalike registrations and unexpected changes need contextual review before escalation.
The Solution
Generate candidate lookalikes with the typosquat endpoint, then inspect selected candidates using registration, threat, DNS, and certificate checks. Use separate watches for supported endpoints on domains in your monitoring scope. Candidate scans are bounded and do not cover every new registration.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/domain/typosquatsAPI referenceTyposquatting Detection: Detect typosquat domains that could impersonate your brand
/v1/domain/whoisAPI referenceWHOIS Lookup: Get domain registration data via RDAP — the post-WHOIS standard. Detects privacy-proxy registrants and GDPR redactions.
/v1/domain/sslAPI referenceSSL Certificates: Analyze active SSL/TLS certificate details
/v1/score/trustAPI referenceTrust Score: Evaluate domain trustworthiness from 7 signals
/v1/dns/lookupAPI referenceDNS Lookup: Query any of 22 DNS record types or ALL at once with DNSSEC validation
/v1/watchesMonitoring API referenceCreate Watch: Create separate endpoint watches for DNS, registration, or certificate changes
/v1/watches/:id/alertsMonitoring API referenceWatch Alerts: Get alerted to WHOIS changes, DNS modifications, and cert renewals
What this workflow helps you do
Triage candidate lookalikes
Review generated candidates and available DNS evidence.
Collect supporting observations
Keep registration and certificate findings with your investigation.
Watch owned domains
Store organization-scoped history for supported endpoints. Public DNS and upstream queries remain observable.
Code Example
Investigate lookalike domains and changes to domains you own
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/domain/typosquats",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/domain/whois",
"params": {
"domain": "example.com"
}
},
{
"path": "/v1/score/trust",
"params": {
"domain": "example.com"
}
}
];
// 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 Program
ICANN's centralized program for addressing DNS abuse including typosquatting and phishing
Anti-Phishing Working Group (APWG)
International coalition of 2,000+ institutions focused on countering phishing and domain abuse
ICANN Uniform Domain-Name Dispute-Resolution Policy
Dispute resolution policy for addressing bad-faith domain registrations and cybersquatting
Ready to build Domain Portfolio Protection?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Website Uptime & Availability Monitoring
Scheduled reachability checks with stored snapshots and status-change alerts
DevOps Engineer / SRESSL Certificate Monitoring & Change Alerts
Track certificate results over time with private snapshots and change alerts
Security Engineer / CISOPrivate Domain Monitoring
Keep stored monitoring history private to your organization