From e4bafef535042715ae04dc083b0fcf24a237a4bf Mon Sep 17 00:00:00 2001 From: Gaurav Kansal Date: Thu, 8 Feb 2024 19:18:10 +0530 Subject: [PATCH] minor --- 2024/Calculating-DS-record-from-DNSKEY.html | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/2024/Calculating-DS-record-from-DNSKEY.html b/2024/Calculating-DS-record-from-DNSKEY.html index 9bd8025..8c3e748 100644 --- a/2024/Calculating-DS-record-from-DNSKEY.html +++ b/2024/Calculating-DS-record-from-DNSKEY.html @@ -62,7 +62,7 @@

Calculating DS record from DNSKEY

DS (Delegation Signer) is calculated using the following five fields –

-
    +
    1. Flags:257 (0x0101)
    2. Protocol:3 (0x03) @@ -98,14 +98,8 @@
      Further explanation:
      Calculating hex of clean-internet.in
      -

      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).

      -

      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);

      +

      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).

      +

      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);

      followed by empty label : 00

      So, combine hex of “clean-internet.in” is — "0x 0e 63 6C 65 61 6E 2D 69 6E 74 65 72 6E 65 74 02 69 6E 00” @@ -136,7 +130,7 @@

      References:
      -
        +
        1. https://www.mail-archive.com/opendnssec-user@lists.opendnssec.org/msg01788.html