Skip to content

Domain expiration monitor

The domain expiration monitor looks up a domain’s registration record at the registry and tracks how many days remain until it expires. Use it to make sure a lapsing registration rolls into your incident channel weeks before the registrar would happily let the domain go.

Configuration

FieldTypeDefaultNotes
DomainhostnameApex domain (example.com, not www.example.com). If you paste a full URL, the scheme, port and path are stripped automatically.
Alert before expirydays30Minimum 1. The monitor turns Degraded when remaining validity drops to this number of days or below.
Timeoutms150001000–30000. Maximum time per registry lookup.

How it works

Each check queries WHOIS for the domain’s registration record. If WHOIS fails or doesn’t expose an expiry date (common on newer TLDs such as .dev and .app), the monitor automatically falls back to RDAP, the modern structured replacement for WHOIS. The source field in the result data tells you which protocol answered.

Status mapping

OutcomeStatus
Expiry found, more than alert_before_expiry_days days remainingup
Expiry found but within alert_before_expiry_days daysdegraded
Registration already expireddown
Both WHOIS and RDAP lookups fail, or no expiry date founderror

A lookup failure is recorded as error rather than down — registry rate limiting or a slow WHOIS server doesn’t mean your domain is in trouble, and an error result won’t trip a status-change alert rule the way down would.

Result data

FieldWhat it is
domainThe domain that was looked up.
expiry_dateRegistration expiry timestamp (ISO 8601).
days_remainingWhole days until expiry. Negative once expired.
registrarRegistrar of record, when the registry exposes it.
sourceWhich protocol supplied the data: whois or rdap.

Interval floors

Registration data changes once per renewal cycle, and registries rate-limit aggressive WHOIS callers. Floors apply on top of the plan-wide minimum interval — see Limits & quotas.

Tips

  • Run domain monitors against your apex only. Subdomains share the apex’s registration record.
  • Pair with an SSL monitor on https://<your-apex> so you catch the more common expiry (the certificate) and the long-tail expiry (the registration) from the same dashboard.
  • If a TLD’s registry hides expiry data behind both protocols, the check reports error consistently — treat that as “this TLD can’t be monitored this way”, not as flakiness.