netutilus

DNS Lookup for Mac

DNS Lookup in Netutilus for Mac asks DNS what a domain points to: A and AAAA addresses, MX mail servers, TXT, CNAME, CAA, NS, SOA, SRV and more, or the name behind an IP address (reverse DNS, PTR). It does what dig and nslookup do in Terminal, and can also ask the resolver your Mac's apps actually use (dig and nslookup go around it), an encrypted public resolver, or any server you type in. Its Email tab checks a domain's SPF, DKIM, DMARC and MX. Free; the Reports tab, which reads DMARC reports, is part of Netutilus Pro.

Updated

Download on the Mac App Store ↗

free to download · macOS 14.6 or later

Key facts

Access
Free (the Reports tab, for DMARC reports: Netutilus Pro)
Shows
A, AAAA, CNAME, MX, TXT, NS, SOA, SRV, CAA, HTTPS, DS, DNSKEY and PTR (reverse DNS) records with TTL, and the query time; on the Email tab, a domain's SPF, DKIM, DMARC and MX with a verdict
Permissions
Local Network, only to ask a router or Pi-hole
Talks to
Your Mac's resolver, or Google, Cloudflare, Quad9, OpenDNS or AdGuard over DNS over HTTPS, or any server you name
Exports
CSV, text
In Terminal
dig example.com · details below
Netutilus DNS Lookup listing 17 records for example.com from the 1.1.1.1 resolver

What it’s for

DNS turns names like example.com into the addresses computers connect to, and holds other records too: where a domain’s mail goes, who may issue its certificates, which servers are in charge of it. DNS Lookup asks for any of them, like dig in Terminal. Its Email tab checks the records that decide whether receivers trust a domain’s mail, and its Reports tab reads what those receivers report back.

Use it when

  • A website or email doesn’t work, and you want to know whether its name resolves.
  • You changed a DNS record and want to check what it says now.
  • You want to compare what your router’s DNS answers with a public resolver.
  • Mail from a domain lands in spam, or you want to know whether anyone could send in its name.
  • DMARC reports reach your inbox, and you want to know who is sending as your domain.

Reading the result

On the Records tab, enter a domain, pick a Record Type and click Lookup. Each answer shows its type, value and TTL: the number of seconds a resolver may keep the answer before it must ask again. Common Records asks for the usual types at once.

  • A and AAAA are the IPv4 and IPv6 addresses.
  • CNAME says the name is another name’s alias.
  • MX names the mail servers, lowest priority number first.
  • TXT holds text, such as the SPF and verification records email and services use.
  • NS and SOA name the servers responsible for the domain.

What you might see

  • Domain does not exist (NXDOMAIN). The name isn’t registered, or there’s a typo.
  • The domain exists but has no records of this type. Try another type, or Common Records.
  • SERVFAIL or REFUSED. The server couldn’t or wouldn’t answer. Try a different server.
  • The query timed out, against a server on your network: Netutilus may need Local Network access. A hint appears when it looks that way.

The Email tab

Enter a domain or an email address and click Check. The verdict sums up SPF, DMARC, DKIM and MX: Protected when DMARC sends forged mail to spam or rejects it, Not enforced at p=none, Not protected without DMARC or with a broken SPF. The findings say what to fix, worst first, and a card for each record shows it as published.

DNS can’t list DKIM keys, so the check tries the selectors of the domain’s mail provider and common ones. To be sure, type the selector, or paste a message’s DKIM-Signature header. Copy puts the report on the clipboard, in English.

Monitor This Domain… sets the domain up in the Uptime Monitor, which then tells you when these records break, weaken or change.

The Reports tab

Reports, part of Netutilus Pro, reads the DMARC reports mail receivers send to the address in a domain’s rua= tag. Drop the files on the tab or click Open Reports…: XML, .xml.gz or .zip, several at once. A report that’s already open isn’t counted twice.

Senders That Fail DMARC comes first: who sends in the domain’s name and fails, with the likely reasons. Then a chart of each day’s messages, and All Sources: the sending addresses, each with its name, what SPF and DKIM said and what the receiver did. A warning sign beside a name means it doesn’t point back to the address, so anyone could have set it.

Nothing is kept: reports stay until you click Clear or quit. The table shows up to 500 rows; the CSV export has every record. The files stay on this Mac; the only question sent out is the name of each sending address, to the DNS server the other tabs use. That’s up to 500 addresses per opening, the failing ones first. Stop ends the lookup, and opening another report asks again.

Options worth knowing

  • Custom DNS asks a server of your choice, on every tab. Google, Cloudflare, Quad9, OpenDNS and AdGuard are asked over encrypted DNS (DNS over HTTPS). Any other address, such as your router or a Pi-hole, is asked directly.
  • Right-click a record to copy it.

DNS lookup in Terminal: dig and nslookup on a Mac

TerminalmacOS
# A record, with the answering server and query time
$ dig example.com

# mail servers only
$ dig +short example.com MX

# ask a specific server
$ dig @1.1.1.1 example.com AAAA

# reverse DNS (PTR): the name behind an IP
$ dig -x 8.8.8.8

# TXT records with nslookup
$ nslookup -type=txt example.com

# what your Mac's own resolver returns
$ dscacheutil -q host -a name example.com
Example output
$ dig +noall +answer example.com A
example.com.		229	IN	A	203.0.113.10
example.com.		229	IN	A	203.0.113.20

dig and nslookup ask a DNS server directly and go around the macOS resolver, so a VPN's or a profile's per-domain DNS rules don't apply to them. Netutilus can ask either one.

dig or nslookup?

Both come with macOS. dig prints the whole answer: the record, its TTL, the server that answered and the query time; add +short for the values alone. nslookup prints less, and is the one Windows users already know. Neither asks the macOS resolver: they send the query straight to a DNS server, so per-domain DNS from a VPN or a profile does not apply to them. dscacheutil -q host -a name example.com asks the way apps do.

Look up dig nslookup
IPv4 address dig +short example.com A nslookup example.com
Mail servers dig +short example.com MX nslookup -type=mx example.com
Name servers dig +short example.com NS nslookup -type=ns example.com
Text records dig +short example.com TXT nslookup -type=txt example.com
Name behind an IP dig -x 8.8.8.8 +short nslookup 8.8.8.8
Ask one server dig @1.1.1.1 example.com nslookup example.com 1.1.1.1

Check SPF, DKIM and DMARC records

Email checks live in TXT records. SPF is a TXT record on the domain itself, starting with v=spf1: dig +short TXT google.com | grep spf1. DMARC sits on a name of its own, _dmarc. plus the domain: dig +short TXT _dmarc.google.com. A DKIM key sits at the selector, ._domainkey. and the domain, such as dig +short TXT selector._domainkey.example.com; the selector is the s= in the DKIM-Signature header of a message the domain sent. In Netutilus, the Email tab checks SPF, DKIM, DMARC and MX at once and lists what to fix. What each record does: SPF, DKIM and DMARC explained.

Reverse DNS lookup on a Mac

dig -x 8.8.8.8 +short returns the name an address points back to, here dns.google.. In Netutilus, type the IP address itself: DNS Lookup switches the record type to PTR and asks for the reverse name, for IPv4 and IPv6 alike.

Try DNS Lookup on your Mac

Netutilus puts every network tool in one app. Free to download; Pro is a one-time purchase, never a subscription.

Download on the Mac App Store ↗

Articles

See also

  • DNSThe internet's address book, which turns names like example.com into addresses.
  • DNS PropagationAsks several public DNS resolvers at once whether they see a record change yet.
  • A Website Won't OpenFind out whether a site is down, unreachable from your network, or just not resolving.
  • Email Authentication: SPF, DKIM and DMARCThree DNS records that let receivers tell a domain's real mail from forged mail.
  • Emails Go to SpamMake sure receivers can tell your domain's mail is really yours, so it reaches the inbox.