[GH-ISSUE #23] DNS compression when writing labels #34

Closed
opened 2026-03-07 21:26:49 +03:00 by kerem · 0 comments
Owner

Originally created by @ema2159 on GitHub (Apr 16, 2023).
Original GitHub issue: https://github.com/EmilHernvall/dnsguide/issues/23

Hello. I am currently following your tutorial (great tutorial by the way), and am currently implementing the write methods for the stub resolver section. However, there is something that I don't quite understand: In chapter 1, the read_qname function implemented this label compression idea by jumping to and reusing old labels. However, in chapter two, the write_qname function doesn't implement the same idea. Did you just chose not to implement it, or is there something I am missing?

Thanks beforehand!

Originally created by @ema2159 on GitHub (Apr 16, 2023). Original GitHub issue: https://github.com/EmilHernvall/dnsguide/issues/23 Hello. I am currently following your tutorial (great tutorial by the way), and am currently implementing the write methods for the stub resolver section. However, there is something that I don't quite understand: In chapter 1, the `read_qname` function implemented this label compression idea by jumping to and reusing old labels. However, in chapter two, the `write_qname` function doesn't implement the same idea. Did you just chose not to implement it, or is there something I am missing? Thanks beforehand!
kerem closed this issue 2026-03-07 21:26:50 +03:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnsguide#34
No description provided.