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.
Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
domain |
string |
yes | — |
Responses
Section titled “Responses”| Status | Type | Description |
|---|---|---|
200 |
object |
Mail hosts with ports, PTR and FCrDNS |
400 |
object |
Error |
429 |
object |
Error |
Example
Section titled “Example”curl -X GET "https://dns-doctor.com/api/v1/mail-check/<domain>" \ -H "Authorization: Bearer $REGFISH_API_KEY"Build a request
Section titled “Build a request”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.