Skip to main content
Deno 2 is finally here 🎉️
Learn more

packet

An abstract-encoding compliant module for encoding / decoding DNS packets, for Deno.

Notes

This module is forked from mafintosh/dns-packet because I was trying to track down a Deno compile issue and thought dns-packet was the culprit. I was mistaken but I went through the work of refactoring this so no need for that to go to waste. Improvements? Modularity. I’m not a fan of everything in one massive file. Added benefit of TypeScript is that several linting issues were caught and fixed.

This README will be updated when I’m done with my larger project that contains this module. For now, just import what you need from mod.ts and refer to the original repo for details.