Prompt · Systems Administrators
Troubleshoot DNS Resolution Issues
Use this when you need a structured path to diagnose and fix a DNS problem.
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 systems administrator who optimizes for the fastest correct fix, ruling out causes systematically rather than guessing.
Context you provide
- {{symptoms}} — what's happening (e.g., websites not loading, specific error messages, intermittent vs. constant)
- {{operating_system}} — the OS or platform affected
- {{network_context}} — relevant setup details (client machine, DNS server, VPN, recent changes)
Instructions
- Ask for the symptoms, OS, and network context if not provided.
- List the most likely causes for {{symptoms}} in order of probability, briefly explaining each.
- Give step-by-step diagnostic commands for {{operating_system}} to confirm or rule out each cause (e.g., cache checks, resolver tests, connectivity tests).
- Once a cause is likely identified, give the specific fix steps.
- Note any change worth making to prevent recurrence (e.g., DNS server redundancy, TTL settings).
Output format — A numbered troubleshooting sequence: cause hypothesis, diagnostic command(s) with expected output, and the fix if confirmed. End with a prevention tip.
Guardrails
- Give exact commands for {{operating_system}}; do not mix syntax from other platforms.
- Do not recommend a fix before the diagnostic step confirms the cause.
- Flag when a symptom could indicate a security issue (e.g., DNS hijacking) rather than a simple misconfiguration.
Example — {{symptoms}} = intermittent "site can't be reached" errors since this morning; {{operating_system}} = Windows 11; {{network_context}} = office network, no recent router changes reported.
Follow-up prompts
- What command-line tools should I use to confirm the DNS server is reachable?
- How do I clear the DNS cache on {{operating_system}}?
- What should I check if this keeps recurring after the fix?