Private Domain Monitoring
Keep stored monitoring history private to your organization
Keep watch settings and stored observations scoped to your EdgeDNS organization. Other customers cannot browse your account history. Active checks still use public infrastructure: DNS records, resolver queries, and certificates may be observable independently of your account. Private history does not conceal a public hostname or provide access to an internal-only network.
Implementation example by the EdgeDNS team · Updated
The Challenge
Public DNS records can be observed by resolvers and passive DNS sensors. Monitoring a portfolio also creates account-specific history, alert settings, and a list of domains your team investigates. Teams that need private operational records should distinguish public DNS visibility from access to their monitoring account and stored history.
The Solution
Endpoint watches perform active checks using public infrastructure while stored monitoring history and settings are scoped to your organization. Free includes 5 watches checked daily; Developer includes 50 from 30 minutes; Pro includes 250 from 5 minutes. Endpoint tier restrictions apply. Scheduled checks share your monthly request allowance. Public DNS records remain publicly observable; account isolation protects the history and configuration held by EdgeDNS.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/watchesMonitoring API referenceCreate Watch: Create an organization-scoped watch for one supported endpoint
/v1/watches/:id/changesMonitoring API referenceDNS History: View your organization’s stored watch change history; public DNS records remain observable
/v1/watches/:id/alertsMonitoring API referenceWatch Alerts: Review change alerts scoped to your organization and configured notification recipients
/v1/watchesMonitoring API referenceList Watches: Manage all monitored domains in your private portfolio
What this workflow helps you do
Organization-scoped stored history
Watch snapshots and alerts are scoped to your EdgeDNS organization. Public records and upstream queries may remain observable.
Private monitoring configuration
Your account settings and stored monitoring history are isolated from other EdgeDNS customers. Public DNS records and queries may still be observable by upstream infrastructure.
Plan-specific history retention
Review the retention period for your monitoring plan and export findings when your evidence requirements exceed the included history window.
Code Example
Set up private monitoring for regulated domains
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const response = await fetch('https://api.edgedns.dev/v1/watches', {
method: 'POST',
headers: { ...headers, 'Content-Type': 'application/json' },
body: JSON.stringify({
"domain": "example.com",
"endpoint_id": "dns-lookup",
"endpoint_params": {
"type": "A"
},
"interval_minutes": 1440,
"alert_enabled": true,
"alert_strategy": "json_diff",
"alert_config": {},
"notification_emails": [
"ops@example.com"
]
})
});
const created = await response.json();
if (!response.ok) throw new Error(created.error?.message ?? 'Watch creation failed');
// After subsequent scheduled checks, inspect this watch's changes.
const historyResponse = await fetch(
'https://api.edgedns.dev/v1/watches/' + encodeURIComponent(created.data.id) + '/changes',
{ headers }
);
const history = await historyResponse.json();
if (!historyResponse.ok) throw new Error(history.error?.message ?? 'History request failed');
console.log(history.data);Learn More
Explore industry standards and best practices related to this use case.
Ready to build Private Domain Monitoring?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
DNS & Infrastructure Change Monitoring
Detect unauthorized DNS changes, certificate swaps, and WHOIS transfers with private, continuous monitoring
SRE / DevOps EngineerWebsite Uptime & Availability Monitoring
Scheduled reachability checks with stored snapshots and status-change alerts
Brand Protection / LegalDomain Portfolio Protection
Investigate lookalike domains and changes to domains you own