Firstly, where do we get the public key for the DS records?
Can you clarify your question???
Second, why do I get multiple DS records as response? –
You will always get a 2 DS Records in response. One for SHA-1 and second for SHA-256.
dig +dnssec -t DS isc.org @b0.org.afilias-nst.org.
; <<>> DiG 9.8.1 <<>> +dnssec -t DS isc.org @b0.org.afilias-nst.org.
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32385
;; flags: qr aa rd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;isc.org. IN DS
;; ANSWER SECTION:
isc.org. 86400 IN DS 12892 5 2 F1E184C0E1D615D20EB3C223ACED3B03C773DD952D5F0EB5C777586D E18DA6B5
isc.org. 86400 IN DS 12892 5 1 982113D08B4C6A1D9F6AEE1E2237AEF69F3F9759
isc.org. 86400 IN RRSIG DS 7 2 86400 20120309160141 20120217150141 55440 org. SHpqmMeBQAyBB5LgBcrR5FcZiWiEudop/fl7X1xgz31XG4vFFQzq57RI q0hUkWZ0dR5oBCpRC15osOXSZEwVuz3LXXUd63GpI5aoGv/OtyPI/w4Y TedgweoE9PWovcx6Ahr2WonckP2YqTsHqzxwr+VSiiMFMe2VVquTo4/v EjE=
;; Query time: 339 msec
;; SERVER: 199.19.54.1#53(199.19.54.1)
;; WHEN: Fri Feb 17 23:36:01 2012
;; MSG SIZE rcvd: 283
Why do I get multiple RRSIG records from some servers? –
You will get single RRSIG per RR sets.
Do we get a RRSIG for each RR retrieved? If so, why does –
Not for each RR But for each RR sets.
30909 is TTL Value; 2 signifies SHA-256;
And in -
com. 86400 IN RRSIG DS 8 1 86400 20120224000000 20120216230000 51201 . IuENP04r85gzobEOPGEWr+cRxuPep8KWQgp0P9e3RxVlL5ZFaSzUHjVg SQL7LMHn31FfiUDrGW9oTs3knqqGNbex+LDB9lIq17dEN3k1A+1emHcN MF6kDBCoSPiU9yvaxZkII4Omj051XyHH+5st8cpZemLgR/n+2gtDpvPV PeY=
What's 8 1 86400 20120224000000 20120216230000 51201
?
1- SHA-1
86400 – TTL Value
20120224000000 – Signature Expire time
20120224000000 – Signature Creation Time
51201 – Key Id
-----Original Message-----
From: bind-users-bounces+gaurav.kansal=nic...@lists.isc.org [mailto:bind-users-bounces+gaurav.kansal=nic...@lists.isc.org] On Behalf Of Miek Gieben
Sent: Saturday, February 18, 2012 12:42 AM
To: bind-...@lists.isc.org
Subject: Re: A few conceptual question about dnssec.
[ Quoting <gaurav...@nic.in> at 00:36 on Feb 18 in "RE: A few conceptual..." ]
> Firstly, where do we get the public key for the DS records?
>
> Can you clarify your question???
>
>
>
> Second, why do I get multiple DS records as response? –
>
> You will always get a 2 DS Records in response. One for SHA-1 and
> second for SHA-256.
That completely depends on what is configured in the zone.
But I think it is recommended that you should always put 2 DS Records in your zone file corresponding to each child zone.
One for SHA1 and second for SHA256.
That’s why we always get 2 DS Records from ROOT Server pointing to TLDs.
Firstly, where do we get the public key for the DS records?
Can you clarify your question???
Second, why do I get multiple DS records as response? –You will always get a 2 DS Records in response. One for SHA-1 and second for SHA-256.
Lastly, what's the format for the output dis DNSSEC records?
com. 86400 IN DS 30909 8 2 E2D3C916F6DEEAC73294E8268FB5885044A833FC5459588F4A9184CF C41A5766
Sow what's '30909 8 2'
30909 is TTL Value; 2 signifies SHA-256;
And in -
com. 86400 IN RRSIG DS 8 1 86400 20120224000000 20120216230000 51201 . IuENP04r85gzobEOPGEWr+cRxuPep8KWQgp0P9e3RxVlL5ZFaSzUHjVg SQL7LMHn31FfiUDrGW9oTs3knqqGNbex+LDB9lIq17dEN3k1A+1emHcN MF6kDBCoSPiU9yvaxZkII4Omj051XyHH+5st8cpZemLgR/n+2gtDpvPV PeY=
What's 8 1 86400 20120224000000 20120216230000 51201
?
1- SHA-186400 – TTL Value
20120224000000 – Signature Expire time
20120224000000 – Signature Creation Time
51201 – Key Id
DNSSEC appears to be a rarely explored topic.
Firstly, where do we get the public key for the DS records?
Can you clarify your question???
Second, why do I get multiple DS records as response? –
You will always get a 2 DS Records in response. One for SHA-1 and second for SHA-256.
I was reading the RFCs, but according to that, there's no provision of SHA-256. According to RFC 4034, 1 means MD5 and 2 means Diffie-Hellman (appendix A.1)