1RR::DNSKEY(3) User Contributed Perl Documentation RR::DNSKEY(3)
2
3
4
6 Net::DNS::RR::DNSKEY - DNS DNSKEY resource record
7
9 "use Net::DNS::RR;"
10
12 Class for DNSSEC KEY (DNSKEY) resource records.
13
15 flags
16
17 print "flags" = ", $rr->flags, "\n";
18
19 Returns the RR's flags in decimal representation
20
21 protocol
22
23 print "protocol" = ", $rr->protocol, "\n";
24
25 Returns the RR's protocol field in decimal representation
26
27 algorithm
28
29 print "algoritm" = ", $rr->algorithm, "\n";
30
31 Returns the RR's algorithm field in decimal representation
32
33 1 = MD5 RSA
34 2 = DH
35 3 = DSA
36 4 = Elliptic curve
37 5 = SHA1 RSA
38
39 Note that only algorithm 1 and 3 are supported by the methods provided
40 through Net::DNS::RR::SIG.pm.
41
42 key
43
44 print "key" = ", $rr->key, "\n";
45
46 Returns the key in base64 representation
47
48 keybin
49
50 $keybin = $rr->keybin;
51
52 Returns the key binary material
53
54 keytag
55
56 print "keytag" = ", $rr->keytag, "\n";
57
58 Returns the key tag of the key. (RFC2535 4.1.6)
59
60 privatekeyname
61
62 $privatekeyname=$rr->privatekeyname
63
64 Returns the name of the privatekey as it would be generated by the BIND
65 dnssec-keygen program. The format of that name being K\<fqdn\>+\<algo‐
66 rithm\>+\<keyid\>.private
67
68 is_sep, set_sep, clear_sep
69
70 is_sep() returns 1 if the secure entry point flag field is set,
71 set_sep() sets secure entry point flag field is set and clear_sep()
72 clears the value.
73
75 Copyright (c) 2003-2005 RIPE NCC. Author Olaf M. Kolkman
76 <olaf@net-dns.org>
77
78 All Rights Reserved
79
80 Permission to use, copy, modify, and distribute this software and its
81 documentation for any purpose and without fee is hereby granted, pro‐
82 vided that the above copyright notice appear in all copies and that
83 both that copyright notice and this permission notice appear in sup‐
84 porting documentation, and that the name of the author not be used in
85 advertising or publicity pertaining to distribution of the software
86 without specific, written prior permission.
87
88 THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
89 INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO
90 EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
91 DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
92 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
93 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
94 THIS SOFTWARE.
95
96 Based on, and contains, code by Copyright (c) 1997 Michael Fuhr.
97
99 <http://www.net-dns.org/>
100
101 perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
102 Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 4033, RFC 4034,
103 RFC 4035.
104
105
106
107perl v5.8.8 2006-02-14 RR::DNSKEY(3)