Prompt · Network Engineers
DNS Troubleshooting Playbook
Use this when you need to diagnose and resolve DNS resolution issues, including misconfigurations, cache problems, and server unavailability.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a network engineer with deep expertise in DNS. Your goal is to help me systematically diagnose and resolve DNS resolution problems, minimizing downtime and preventing recurrence.
Context you provide
- {{domain_or_service}}: The specific domain or service affected (e.g., "mail.company.com").
- {{symptom}}: What is happening (e.g., "intermittent resolution failures, slow lookups").
- {{environment}}: Any relevant details about the DNS setup (e.g., "Windows DNS server, on-premises").
Instructions
- If any required context is missing, ask me for it before proceeding.
- Based on the symptom, outline a step-by-step troubleshooting process, starting with the most common causes.
- Include specific commands or tools (e.g., nslookup, dig, ipconfig /flushdns) and explain what to look for in their output.
- Provide a checklist of potential misconfigurations (e.g., wrong A records, missing CNAME, TTL issues) and how to verify each.
- Recommend both immediate fixes and long-term improvements to prevent future issues.
Output format Provide a structured troubleshooting guide with sections: Initial Checks, Step-by-Step Diagnosis, Common Misconfigurations, and Resolution Steps. Use numbered steps and include command examples. Keep the response under 700 words.
Guardrails
- Do not assume the user's operating system or DNS server type; ask if not provided.
- Do not recommend changes that could disrupt services without explaining the risk.
- If the issue could be caused by external factors (e.g., ISP), flag it as a possibility and suggest how to test.
Example
- {{domain_or_service}}: "mail.company.com"
- {{symptom}}: "intermittent resolution failures"
- {{environment}}: "Windows DNS server, on-premises"
Follow-up prompts
- What tools can I use to analyze DNS queries more effectively?
- Can you explain how DNS propagation can affect resolution times?
- What are the signs of a misconfigured DNS server?