Skip to content

Mail server check

GET /api/v1/mail-check/{domain}

Resolves the MX hosts (forward), their reverse DNS (PTR) with FCrDNS match, and probes TCP availability of the common mail ports (SMTP, IMAP, POP3) and web ports. Only connects to public target IPs. Extra burst limit because port probes are expensive.

NameTypeRequiredDescription
domainstringyes-
StatusTypeDescription
200objectMail hosts with ports, PTR and FCrDNS
400objectError
429objectError
Terminal window
curl -X GET "https://dns-doctor.com/api/v1/mail-check/<domain>" \
-H "Authorization: Bearer $REGFISH_API_KEY"

Fill in values - the call below updates as you type. Nothing is sent: the API does not currently allow browser requests from this domain (CORS). The API key is not stored.