-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Eventually we're going to need a DNS client in the standard library. Although the networking piece(s) should wait for #1778, we can still write a DNS packet type now.
It should:
- Use a
packed structto represent a DNS packet header - Have non-extern enums for section/class/type
- Include definitions/parsers for various types
- Have constructors for common packet types
Consider cribbing from https://github.com/wahern/dns/blob/6cefd43f522f67680632309d4c221142c3798b71/src/dns.h#L354
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.standard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.