tools / DNS lookups / look up cname records (canonical name)
DNS · CNAME

CNAME record lookup

CNAME maps an alias to a canonical name. Resolvers chase the chain transparently. Used for SaaS pointing (`shop.example.com` → `myshop.shopify.com`), CDN aliases, and dev/staging environments.

beginner CNAME

How to look it up

Four ways to query — pick by what's available on your machine.

digdig CNAME shop.example.com +short
dig (chase)dig CNAME shop.example.com +trace
dotdigdotdig cname shop.example.com

Sample response

myshop.shopify.com.

Format

Single canonical hostname, ending with trailing dot. Resolvers chase the CNAME chain (limit ~10 hops) automatically.

Common pitfalls

Why it matters for security

security relevance Dangling CNAMEs (pointing to deprovisioned SaaS subdomains) enable subdomain takeover attacks. Audit periodically — services like Detectify and Sublist3r catch these.

Use cases

Look up DNS without flag soup
dotdig is a friendly DNS resolver — formatted output, custom resolver support, DNSSEC validation. Zero-config alternative to dig.
Open dotdig  

Related DNS lookups

SOA · TXT · MX · NS