Three years after launching Mess With DNS, a platform for learning how DNS works, it faced various implementation issues. The solution was to migrate to PowerDNS, an open-source DNS server with an HTTP API. The author tackled several challenges including intercepting DNS queries, redesigning the backend API, managing state in the frontend, and upgrading Vue.js. Ultimately, the migration resolved numerous DNS issues and made the system more reliable.
Table of contents
the problemsthe solution: PowerDNSchallenge 1: getting every query made to the DNS serverchallenge 2: should the frontend have direct access to the PowerDNS API?what I learned: it’s okay for an API to duplicate informationchallenge 3: what’s a record’s ID?challenge 4: making clear error messageschallenge 5: setting up SQLitechallenge 6: upgrading Vue & managing formschallenge 7: managing state in the frontendchallenge 8: sequencing the projectthe new website is up now!Sort: