# Dig - DNS Lookup for Raycast

URL: https://www.raycast.com/danielbahl/dig

> DNS lookup and nameserver query using the built-in host command

- Install: raycast://extensions/danielbahl/dig
- Author: [Daniel Bahl](https://www.raycast.com/danielbahl)
- Installs: 4,813
- Platforms: macOS
- Categories: Developer Tools
- Updated: 2026-10-19
- Source: https://github.com/raycast/extensions/tree/6e41546d4072ee1684be8a03feaf4dcd655d5378/extensions/dig/

## Commands

- **Query Hostname**: Returns NS-records from the hostname

## README

### dig Extension for Raycast

DNS lookup and nameserver query using the built-in host command on macOS. Built for [Raycast](https://raycast.com).

#### Query a domainname
`dig raycast.com` returns all results from domain

`dig raycast.com ns` returns all name server (NS-servers)

`dig raycast.com mx` returns all mail exchanger records (MX record) 

`dig raycast.com txt` returns all TXT-records from domain

See supported types below for all types:

#### Supported types

a, aaaa, afsdb, apl, caa, cert, cname, dhcid, dlv, dname, dnskey, ds,
hip, ipseckey, key, kx, loc, mx, naptr, ns, nsec, nsec3, nsec3param,
ptr, rrsig, rp, sig, soa, spf, srv, sshfp, ta, tkey, tlsa, tsig, txt,
axfr, ixfr, opt
