MailSlurp lets you look up name server records free using the MailServerController. Here is an example:

Fetch DNS records with curl

Here is an example of querying the mailslurp domain for , , and records.

Note the use of the API KEY parameter in the header

Name server response

The results from the DNS lookup for mailslurp.com look like this:

Test your own domains

You can use MailSlurp APIs to query and test any domains you wish.