Skip to main content
Financial Services|Security Engineer / CISO

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.

POST

Create Watch: Create an organization-scoped watch for one supported endpoint

GET
/v1/watches/:id/changesMonitoring API reference

DNS History: View your organization’s stored watch change history; public DNS records remain observable

GET
/v1/watches/:id/alertsMonitoring API reference

Watch Alerts: Review change alerts scoped to your organization and configured notification recipients

GET

List 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

javascript
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

Private Domain Monitoring & Organization History | EdgeDNS