Skip to content

Commit

Permalink
Clarify compression requirments
Browse files Browse the repository at this point in the history
  • Loading branch information
nixypanda committed Nov 26, 2023
1 parent 80c45b7 commit 0b287b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion course-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,9 @@ stages:
name: "Parse compressed packet"
difficulty: medium
description_md: |-
In this stage we will parse the DNS question section which has compressed the question label sequences. You will be sent multiple values in the question section and you have to parse the queries and respond with the same question section in the response along with answers for them. As for the answer section, respond with an `A` record type which can take any value of your choosing for each question. You don't need to compress your response. We will never ask you to do something that will overflow the buffer size restriction of UDP, so compressing your response packet is not something you have to worry about.
In this stage we will parse the DNS question section which has compressed the question label sequences. You will be sent multiple values in the question section and you have to parse the queries and respond with the same question section (no need for compression) in the response along with answers for them. As for the answer section, respond with an `A` record type which can take any value of your choosing for each question.
You don't need to compress your response. We will never ask you to do something that will overflow the buffer size restriction of UDP, so compressing your response packet is not something you have to worry about.
The question type will always be `A` and the question class will always be `IN`.
Expand Down

0 comments on commit 0b287b0

Please sign in to comment.