Free domain registration and practical DNS learning resources for everyone.
Monitoring and Incident Response
Monitoring answers whether the system is behaving as expected. Incident response defines what to do when it is not.
Monitor the User Path
The most useful external check follows the public path:
DNS resolves
-> TCP connects
-> TLS validates
-> HTTP returns expected status
-> Page contains expected identity
A process can be running while users still see an expired certificate, wrong DNS address, or error page.
Essential Checks
Domain expiration
Alert well before the current renewal window closes. Assign the alert to a responsible owner and a backup.
Nameserver delegation
Compare current parent delegation with the approved nameserver set.
DNS records
Monitor important A, AAAA, CNAME, MX, and policy records for unexpected changes.
TLS certificate
Alert on expiration, hostname mismatch, invalid chain, and unexpected issuer when the project maintains an issuer expectation.
HTTP
Check the canonical HTTPS URL, expected status, redirect path, response time, and a small content marker.
Server health
Monitor disk space, memory pressure, CPU saturation, process restarts, time synchronization, backup results, and security updates.
Avoid Noisy Alerts
An alert that fires constantly without action trains operators to ignore it.
Every alert should answer:
- What user impact does this indicate?
- Who receives it?
- How urgent is it?
- What first diagnostic should be run?
- When should it escalate?
- How is recovery verified?
Establish a Baseline
Record normal values:
- Typical HTTP latency
- Normal response size
- Expected redirect count
- Expected DNS answers
- Normal disk growth
- Normal application error rate
Thresholds without a baseline can miss slow degradation or create false alarms.
Incident Severity
Example levels:
| Severity | Example | Response |
|---|---|---|
| SEV-1 | Domain hijack, widespread phishing, total critical outage | Immediate coordinated response |
| SEV-2 | Website unavailable, certificate expired, major feature broken | Urgent owner response |
| SEV-3 | Partial degradation or noncritical failure | Scheduled prompt investigation |
| SEV-4 | Cosmetic or documentation issue | Normal maintenance |
Define severity for the actual project. A personal portfolio and a public safety service do not have the same impact.
First Response Checklist
- Record the detection time and reporter.
- Confirm the issue from an independent path.
- Define affected hostnames, users, and services.
- Preserve relevant logs and current configuration.
- Contain harm with the smallest reversible action.
- Assign an incident lead.
- Communicate a factual status and next update time.
- Diagnose from registration and DNS toward the application.
- Apply and verify recovery.
- Monitor for recurrence.
Do not erase logs, rotate every system, or redeploy unrelated components before preserving evidence and understanding the scope.
Domain Hijack Signals
- Nameservers changed unexpectedly.
- DNS records point to unfamiliar infrastructure.
- Account recovery email changed.
- A certificate was issued unexpectedly.
- Website content changed while the server remained untouched.
Response may require securing the email account, revoking sessions and API keys, restoring registration settings, contacting official support, and warning users. Preserve exact timestamps and account notices.
Certificate Incident
If a private key may be exposed:
- Remove unauthorized access.
- Revoke or replace the affected certificate according to the certificate workflow.
- Generate a new private key.
- Deploy the new certificate and chain.
- Confirm every server uses the replacement.
- Investigate how the key was exposed.
Merely deleting a copied key from a public location does not make it secret again.
Post-Incident Review
Write a blameless technical review containing:
- Impact
- Timeline
- Detection method
- Root cause and contributing conditions
- What reduced impact
- What delayed recovery
- Corrective actions with owners and dates
- Verification that actions were completed
Avoid vague actions such as “be more careful.” Improve a system, review gate, alert, backup, permission, or runbook.
Tabletop Exercise
Scenario: the canonical domain suddenly resolves to an unknown IP while the production server remains healthy.
Write:
- The first three commands you run.
- Which accounts you secure.
- Which evidence you preserve.
- How you restore service.
- How you notify users.
- How you verify the incident is over.
Continue to Server Hardening and Maintenance.