View WHOIS and DNS records on macOS

There is no need to visit shady ad dumpster fires if you are on macOS, the commands are already built-in macOS.

Get info about the owner with whois and nslookup

$ whois

View DNS records

$ nslookup

View MX-records

$ nslookup -q=mx


Since dig is available on macOS we can use this for more detailed answers.

$ dig
$ dig -t mx