-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ <h4>Calculating DS record from DNSKEY</h4> | |
<div class="content"> | ||
|
||
<p>DS (Delegation Signer) is calculated using the following five fields –</p> | ||
<ol type="i"> | ||
<ol type="i" margin-top: 0;> | ||
<li>Flags:257 (0x0101) | ||
</li> | ||
<li>Protocol:3 (0x03) | ||
|
@@ -98,14 +98,8 @@ <h6><u>Further explanation: </u></h6> | |
<blockquote> | ||
<h6><u>Calculating hex of clean-internet.in </u></h6> | ||
<h6> | ||
<p>A domain name, in "wireformat" is a set of labels, | ||
where each label is preceded by a length value and ends with the empty label | ||
(value 0x00).</p> | ||
<p>For clean-internet, wire format is : 0e (as length is 14) and then “63 6C 65 | ||
61 6E 2D 69 6E 74 65 72 6E 65 74” (the hex representation of c , l , e …); | ||
</p> | ||
<p>and for in. , wire format is : 02 (as length is 2) and then “69 6E” (the hex | ||
representation of i and n); </p> | ||
<p>A domain name, in "wireformat" is a set of labels, where each label is preceded by a length value and ends with the empty label (value 0x00).</p> | ||
<p>For clean-internet, wire format is : 0e (as length is 14) and then “63 6C 65 61 6E 2D 69 6E 74 65 72 6E 65 74” (the hex representation of c , l , e …); and for "in.", wire format is : 02 (as length is 2) and then “69 6E” (the hex representation of i and n); </p> | ||
<p>followed by empty label : 00 </p> | ||
<p>So, combine hex of “clean-internet.in” is — <b>"0x 0e 63 6C 65 61 6E 2D | ||
69 6E 74 65 72 6E 65 74 02 69 6E 00”</b> | ||
|
@@ -136,7 +130,7 @@ <h6> | |
</blockquote> | ||
|
||
<h6><u>References: </u></h6> | ||
<ol> | ||
<ol margin-top: 0;> | ||
<li><a | ||
href="https://www.mail-archive.com/[email protected]/msg01788.html">https://www.mail-archive.com/[email protected]/msg01788.html</a> | ||
</li> | ||
|