Reverse MX Examples · Example 1 of 1 in Ordering

The domains on Cloudflare Email Routing, the earliest WHOIS expiry date first (ordering=domain.whois.expiry_date).

ordering=domain.whois.expiry_date sorts by the expiry date in the WHOIS record, earliest first.

The first records have expiry dates long in the past (pub.pw on August 26, 2016, vb.lk and byte.lk in 2018): their WHOIS record shows an expiry date that has passed, while their MX record still points to Cloudflare. Sorting on a date field is a quick way to find such stale records.

In the response, look at results[].domain.whois.expiry_date.

Request

What this example sends. Every parameter is documented on Reverse MX; the exact request is in the code panel.

ParameterValue
orderingquerydomain.whois.expiry_date
mxqueryroute1.mx.cloudflare.net
page_sizequery25

Reference updated