Skip to content
Tech News
← Back to articles

DOOM Over DNS

read original more articles
Why This Matters

This innovative project demonstrates how DNS TXT records, traditionally used for simple text data, can be repurposed to host and stream a full game like DOOM, highlighting the potential for unconventional uses of existing internet infrastructure. It underscores the importance of understanding DNS's capabilities and limitations, inspiring developers to think creatively about leveraging DNS for novel applications beyond standard domain resolution. For consumers, this showcases a playful intersection of gaming and networking technology, emphasizing the evolving landscape of internet-based entertainment.

Key Takeaways

DOOM Over DNS

At some point, a reasonable person asked "DNS resolves names to IP addresses, what else can it do?" The answer, apparently, is run DOOM.

DNS TXT records can hold arbitrary text. Cloudflare will serve them globally, for free, cached at the edge, to anyone who asks. They are not a file storage system. They were not designed to be a file storage system. Nobody at the IETF was thinking about them being used as a file storage system when they wrote RFC 1035. And yet here we are.

This project compresses the entirety of shareware DOOM, splits it into ~1,964 DNS TXT records across a single Cloudflare zone, and plays it back at runtime using nothing but a PowerShell script and public DNS queries. The WAD file never touches disk and the .NET game engine DLLs are loaded directly into memory.

It was always DNS.

Quick Start

Play

# 1. Install PowerShell 7 (if you don't have it) winget install Microsoft.PowerShell # 2. Play DOOM . \Start-DoomOverDNS.ps1 - PrimaryZone ' example.com '

That's it. Everything else is fetched from DNS automatically using Resolve-DNSName .

Upload

... continue reading