-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix---use calculated max number of segments
Per Tony Finch [1], the maximum number of segments are: I had a quick look and I noticed that it sets the maximum number of labels to 100. The actual maximum is 128, because the maximum length of a DNS name is 255, and the minimum length of a label is 2 (except for the root which is 1), and (255 - 1)/2 + 1 == 128. https://lobste.rs/s/tukocy/network_protocols_sans_i_o_2016#c_495uaz
- Loading branch information
Showing
3 changed files
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
org.conman.dns-2.1.0-1.rockspec → org.conman.dns-2.1.3-1.rockspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters