1Net::DNS::RR::TKEY(3) User Contributed Perl DocumentationNet::DNS::RR::TKEY(3)
2
3
4
6 Net::DNS::RR::TKEY - DNS TKEY resource record
7
9 "use Net::DNS::RR";
10
12 Class for DNS TKEY resource records.
13
15 algorithm
16 $rr->algorithm($algorithm_name);
17 print "algorithm = ", $rr->algorithm, "\n";
18
19 Gets or sets the domain name that specifies the name of the algorithm.
20 The default algorithm is gss.microsoft.com
21
22 inception
23 $rr->inception(time);
24 print "inception = ", $rr->inception, "\n";
25
26 Gets or sets the inception time as the number of seconds since 1 Jan
27 1970 00:00:00 UTC.
28
29 The default inception time is the current time.
30
31 expiration
32 $rr->expiration(time);
33 print "expiration = ", $rr->expiration, "\n";
34
35 Gets or sets the expiration time as the number of seconds since 1 Jan
36 1970 00:00:00 UTC.
37
38 The default expiration time is the current time plus 1 day.
39
40 mode
41 $rr->mode(3);
42 print "mode = ", $rr->mode, "\n";
43
44 Sets the key mode (see rfc2930). The default is 3 which corresponds to
45 GSSAPI
46
47 error
48 print "error = ", $rr->error, "\n";
49
50 Returns the RCODE covering TKEY processing. See RFC 2930 for details.
51
52 other_len
53 print "other len = ", $rr->other_len, "\n";
54
55 Returns the length of the Other Data. Should be zero.
56
57 other_data
58 print "other data = ", $rr->other_data, "\n";
59
60 Returns the Other Data. This field should be empty.
61
63 This code has not been extensively tested. Use with caution on
64 production systems. See http://samba.org/ftp/samba/tsig-gss/ for an
65 example usage.
66
68 Copyright (c) 2000 Andrew Tridgell. All rights reserved. This program
69 is free software; you can redistribute it and/or modify it under the
70 same terms as Perl itself.
71
73 The Net::DNS::RR::TKEY module is based on the TSIG module by Michael
74 Fuhr and Chris Turbeville.
75
77 perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
78 Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2845
79
80
81
82perl v5.10.1 2009-01-26 Net::DNS::RR::TKEY(3)