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