To query a DNS server for a specific record type such as MX and read the TTL and the answering server in the detailed r…