Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "Which statement correctly separates recursive and authoritative DNS roles?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/dns-resolution/recursive-authoritative-roles/).
Context (verbatim from the page):
"""
Which statement correctly separates recursive and authoritative DNS roles?
An authoritative server normally walks the hierarchy for any client.
A recursive resolver obtains an answer for a client; an authoritative server answers from zones it serves.
Both roles always run in the application process.
A recursive resolver can answer only from its cache.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.