Index / Questions / How do you use dig to debug a domain?

How do you use dig to debug a domain?

Answer

The dig command lets you query DNS servers directly — check if your domain points to the right IP, verify your mail server's MX records, debug SPF settings, and understand how the internet's naming system works.

Sources