DNS Lookup Examples · Example 9 of 13 in Record Types

The SRV record of _imaps._tcp.gmail.com: the host and port of Gmail's IMAP service.

Asks for the SRV record of _imaps._tcp.gmail.com.

An SRV record points a service (here IMAP over TLS, _imaps._tcp) to a host and port. The value 5 0 993 imap.gmail.com. reads priority 5, weight 0, port 993, target imap.gmail.com.. Names that start with an underscore are accepted in domain.

Request

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

ParameterValue
domainquery_imaps._tcp.gmail.com
typequerySRV

Reference updated