nslookup -q=txt yourdomainnaam.com

nslookup -type=soa yourdomainnaam.com

 

nslookup
Default Server: ns01.upclive.nl
Address: 62.179.104.196

> set q=mx
> yourdomainnaam.com
Server: ns01.upclive.nl
Address: 62.179.104.196

Non-authoritative answer:
yourdomainnaam.com MX preference = 0, mail exchanger = yourdomainnaam.com.mail.protection.outlook.com