Complete AI Training

Prompt · Systems Administrators

Troubleshoot DNS Resolution Issues

Use this when you need a structured path to diagnose and fix a DNS problem.

All 27 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. 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

  1. Ask for the symptoms, OS, and network context if not provided.
  2. List the most likely causes for {{symptoms}} in order of probability, briefly explaining each.
  3. Give step-by-step diagnostic commands for {{operating_system}} to confirm or rule out each cause (e.g., cache checks, resolver tests, connectivity tests).
  4. Once a cause is likely identified, give the specific fix steps.
  5. 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?