dnsruby 1.32 → 1.33
Sign up to get free protection for your applications and to get access to all the features.
- data/html/created.rid +1 -1
- data/html/fr_method_index.html +249 -247
- data/lib/Dnsruby/Config.rb +3 -3
- data/lib/Dnsruby/message.rb +8 -6
- data/lib/Dnsruby/name.rb +54 -35
- data/lib/Dnsruby/resource/RRSIG.rb +1 -0
- data/lib/Dnsruby/resource/TSIG.rb +1 -2
- data/lib/Dnsruby/resource/resource.rb +4 -0
- data/lib/Dnsruby/select_thread.rb +2 -2
- data/lib/Dnsruby/single_verifier.rb +7 -7
- data/test/tc_escapedchars.rb +3 -2
- data/test/tc_verifier.rb +13 -16
- metadata +2 -2
data/html/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Fri, 10 Jul 2009 15:10:56 +0100
|
data/html/fr_method_index.html
CHANGED
@@ -20,351 +20,353 @@
|
|
20
20
|
<div id="index">
|
21
21
|
<h1 class="section-bar">Methods</h1>
|
22
22
|
<div id="index-entries">
|
23
|
-
<a href="classes/Dnsruby/Name.html#
|
24
|
-
<a href="classes/Dnsruby/RRSet.html#
|
25
|
-
<a href="classes/Dnsruby/
|
26
|
-
<a href="classes/Dnsruby/
|
27
|
-
<a href="classes/Dnsruby/
|
28
|
-
<a href="classes/Dnsruby/Header.html#M000258">== (Dnsruby::Header)</a><br />
|
29
|
-
<a href="classes/Dnsruby/IPv4.html#M000223">== (Dnsruby::IPv4)</a><br />
|
23
|
+
<a href="classes/Dnsruby/Name/Label.html#M000142"><=> (Dnsruby::Name::Label)</a><br />
|
24
|
+
<a href="classes/Dnsruby/RRSet.html#M000234"><=> (Dnsruby::RRSet)</a><br />
|
25
|
+
<a href="classes/Dnsruby/Name.html#M000132"><=> (Dnsruby::Name)</a><br />
|
26
|
+
<a href="classes/Dnsruby/IPv4.html#M000225">== (Dnsruby::IPv4)</a><br />
|
27
|
+
<a href="classes/Dnsruby/Header.html#M000260">== (Dnsruby::Header)</a><br />
|
30
28
|
<a href="classes/Dnsruby/RR.html#M000013">== (Dnsruby::RR)</a><br />
|
31
|
-
<a href="classes/Dnsruby/
|
32
|
-
<a href="classes/Dnsruby/
|
33
|
-
<a href="classes/Dnsruby/
|
34
|
-
<a href="classes/Dnsruby/
|
35
|
-
<a href="classes/Dnsruby/RRSet.html#
|
36
|
-
<a href="classes/Dnsruby/Update.html#
|
37
|
-
<a href="classes/Dnsruby/
|
38
|
-
<a href="classes/Dnsruby/
|
39
|
-
<a href="classes/Dnsruby/
|
40
|
-
<a href="classes/Dnsruby/
|
41
|
-
<a href="classes/Dnsruby/
|
42
|
-
<a href="classes/Dnsruby/
|
43
|
-
<a href="classes/Dnsruby/
|
29
|
+
<a href="classes/Dnsruby/Message/Section.html#M000176">== (Dnsruby::Message::Section)</a><br />
|
30
|
+
<a href="classes/Dnsruby/Name/Label.html#M000143">== (Dnsruby::Name::Label)</a><br />
|
31
|
+
<a href="classes/Dnsruby/RRSet.html#M000236">== (Dnsruby::RRSet)</a><br />
|
32
|
+
<a href="classes/Dnsruby/Message.html#M000148">== (Dnsruby::Message)</a><br />
|
33
|
+
<a href="classes/Dnsruby/RRSet.html#M000239">[] (Dnsruby::RRSet)</a><br />
|
34
|
+
<a href="classes/Dnsruby/Update.html#M000297">absent (Dnsruby::Update)</a><br />
|
35
|
+
<a href="classes/Dnsruby/Name.html#M000129">absolute? (Dnsruby::Name)</a><br />
|
36
|
+
<a href="classes/Dnsruby/RRSet.html#M000233">add (Dnsruby::RRSet)</a><br />
|
37
|
+
<a href="classes/Dnsruby/Update.html#M000298">add (Dnsruby::Update)</a><br />
|
38
|
+
<a href="classes/Dnsruby/Dnssec.html#M000273">add_dlv_key (Dnsruby::Dnssec)</a><br />
|
39
|
+
<a href="classes/Dnsruby/Config.html#M000191">add_nameserver (Dnsruby::Config)</a><br />
|
40
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000214">add_opt_rr (Dnsruby::SingleResolver)</a><br />
|
41
|
+
<a href="classes/Dnsruby/Message.html#M000152">add_question (Dnsruby::Message)</a><br />
|
42
|
+
<a href="classes/Dnsruby/Resolver.html#M000333">add_src_port (Dnsruby::Resolver)</a><br />
|
43
|
+
<a href="classes/Dnsruby/Dnssec.html#M000274">add_trust_anchor (Dnsruby::Dnssec)</a><br />
|
44
|
+
<a href="classes/Dnsruby/Dnssec.html#M000275">add_trust_anchor_with_expiration (Dnsruby::Dnssec)</a><br />
|
44
45
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000101">add_type (Dnsruby::RR::NSEC3)</a><br />
|
45
46
|
<a href="classes/Dnsruby/RR/NSEC.html#M000038">add_type (Dnsruby::RR::NSEC)</a><br />
|
46
|
-
<a href="classes/Dnsruby/Message.html#
|
47
|
-
<a href="classes/Dnsruby/RR/TSIG.html#M000082">algorithm= (Dnsruby::RR::TSIG)</a><br />
|
48
|
-
<a href="classes/Dnsruby/RR/DS.html#M000045">algorithm= (Dnsruby::RR::DS)</a><br />
|
49
|
-
<a href="classes/Dnsruby/RR/DNSKEY.html#M000052">algorithm= (Dnsruby::RR::DNSKEY)</a><br />
|
47
|
+
<a href="classes/Dnsruby/Message.html#M000168">add_zone (Dnsruby::Message)</a><br />
|
50
48
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000119">algorithm= (Dnsruby::RR::RRSIG)</a><br />
|
51
|
-
<a href="classes/Dnsruby/
|
49
|
+
<a href="classes/Dnsruby/RR/DNSKEY.html#M000052">algorithm= (Dnsruby::RR::DNSKEY)</a><br />
|
50
|
+
<a href="classes/Dnsruby/RR/DS.html#M000045">algorithm= (Dnsruby::RR::DS)</a><br />
|
51
|
+
<a href="classes/Dnsruby/RR/TSIG.html#M000082">algorithm= (Dnsruby::RR::TSIG)</a><br />
|
52
|
+
<a href="classes/Dnsruby/Dnssec.html#M000291">anchor_verifier (Dnsruby::Dnssec)</a><br />
|
52
53
|
<a href="classes/Dnsruby/RR/TSIG.html#M000076">apply (Dnsruby::RR::TSIG)</a><br />
|
53
|
-
<a href="classes/Dnsruby/RR/NSEC3.html#M000097">calculate_hash (Dnsruby::RR::NSEC3)</a><br />
|
54
54
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000098">calculate_hash (Dnsruby::RR::NSEC3)</a><br />
|
55
|
+
<a href="classes/Dnsruby/RR/NSEC3.html#M000097">calculate_hash (Dnsruby::RR::NSEC3)</a><br />
|
55
56
|
<a href="classes/Dnsruby/RR/TSIG.html#M000077">calculate_mac (Dnsruby::RR::TSIG)</a><br />
|
56
|
-
<a href="classes/Dnsruby/Name.html#
|
57
|
-
<a href="classes/Dnsruby/Name.html#
|
57
|
+
<a href="classes/Dnsruby/Name.html#M000131">canonical (Dnsruby::Name)</a><br />
|
58
|
+
<a href="classes/Dnsruby/Name.html#M000133">canonically_before (Dnsruby::Name)</a><br />
|
58
59
|
<a href="classes/Dnsruby/RR/DS.html#M000047">check_key (Dnsruby::RR::DS)</a><br />
|
59
60
|
<a href="classes/Dnsruby/RR/NSEC.html#M000034">check_name_in_range (Dnsruby::RR::NSEC)</a><br />
|
60
61
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000095">check_name_in_range (Dnsruby::RR::NSEC3)</a><br />
|
61
62
|
<a href="classes/Dnsruby/RR/NSEC.html#M000035">check_name_in_wildcard_range (Dnsruby::RR::NSEC)</a><br />
|
62
63
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000096">check_name_in_wildcard_range (Dnsruby::RR::NSEC3)</a><br />
|
63
|
-
<a href="classes/Dnsruby/Resolver.html#
|
64
|
-
<a href="classes/Dnsruby/Recursor.html#
|
65
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
66
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
67
|
-
<a href="classes/Dnsruby/Resolver.html#
|
68
|
-
<a href="classes/Dnsruby/DNS.html#
|
69
|
-
<a href="classes/Dnsruby/
|
64
|
+
<a href="classes/Dnsruby/Resolver.html#M000334">check_port (Dnsruby::Resolver)</a><br />
|
65
|
+
<a href="classes/Dnsruby/Recursor.html#M000305">clear_caches (Dnsruby::Recursor)</a><br />
|
66
|
+
<a href="classes/Dnsruby/Dnssec.html#M000277">clear_trust_anchors (Dnsruby::Dnssec)</a><br />
|
67
|
+
<a href="classes/Dnsruby/Dnssec.html#M000279">clear_trusted_keys (Dnsruby::Dnssec)</a><br />
|
68
|
+
<a href="classes/Dnsruby/Resolver.html#M000325">close (Dnsruby::Resolver)</a><br />
|
69
|
+
<a href="classes/Dnsruby/DNS.html#M000309">close (Dnsruby::DNS)</a><br />
|
70
|
+
<a href="classes/Dnsruby/IPv6.html#M000264">create (Dnsruby::IPv6)</a><br />
|
71
|
+
<a href="classes/Dnsruby/IPv4.html#M000223">create (Dnsruby::IPv4)</a><br />
|
70
72
|
<a href="classes/Dnsruby/Name.html#M000126">create (Dnsruby::Name)</a><br />
|
71
73
|
<a href="classes/Dnsruby/RR.html#M000014">create (Dnsruby::RR)</a><br />
|
72
|
-
<a href="classes/Dnsruby/
|
74
|
+
<a href="classes/Dnsruby/Header.html#M000257">data (Dnsruby::Header)</a><br />
|
73
75
|
<a href="classes/Dnsruby/RR/TXT.html#M000069">data (Dnsruby::RR::TXT)</a><br />
|
74
|
-
<a href="classes/Dnsruby/Header.html#
|
75
|
-
<a href="classes/Dnsruby/
|
76
|
-
<a href="classes/
|
77
|
-
<a href="classes/Base32.html#M000347">decode32hex (Base32)</a><br />
|
78
|
-
<a href="classes/Dnsruby/RR/NSEC3.html#M000109">decode_next_hashed (Dnsruby::RR::NSEC3)</a><br />
|
76
|
+
<a href="classes/Dnsruby/Header.html#M000263">decode (Dnsruby::Header)</a><br />
|
77
|
+
<a href="classes/Dnsruby/Message.html#M000167">decode (Dnsruby::Message)</a><br />
|
78
|
+
<a href="classes/Base32.html#M000349">decode32hex (Base32)</a><br />
|
79
79
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000110">decode_next_hashed (Dnsruby::RR::NSEC3)</a><br />
|
80
|
+
<a href="classes/Dnsruby/RR/NSEC3.html#M000109">decode_next_hashed (Dnsruby::RR::NSEC3)</a><br />
|
80
81
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000107">decode_salt (Dnsruby::RR::NSEC3)</a><br />
|
81
82
|
<a href="classes/Dnsruby/RR/NSEC.html#M000039">decode_types (Dnsruby::RR::NSEC)</a><br />
|
82
|
-
<a href="classes/Dnsruby/Header.html#
|
83
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
84
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
85
|
-
<a href="classes/Dnsruby/
|
86
|
-
<a href="classes/Dnsruby/
|
83
|
+
<a href="classes/Dnsruby/Header.html#M000259">decrement_arcount_encoded (Dnsruby::Header)</a><br />
|
84
|
+
<a href="classes/Dnsruby/Dnssec.html#M000284">default_resolver (Dnsruby::Dnssec)</a><br />
|
85
|
+
<a href="classes/Dnsruby/Dnssec.html#M000283">default_resolver= (Dnsruby::Dnssec)</a><br />
|
86
|
+
<a href="classes/Dnsruby/RRSet.html#M000237">delete (Dnsruby::RRSet)</a><br />
|
87
|
+
<a href="classes/Dnsruby/Update.html#M000299">delete (Dnsruby::Update)</a><br />
|
87
88
|
<a href="classes/Dnsruby/RR/DS.html#M000046">digest_key (Dnsruby::RR::DS)</a><br />
|
88
89
|
<a href="classes/Dnsruby/RR/DS.html#M000043">digest_type= (Dnsruby::RR::DS)</a><br />
|
89
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
90
|
+
<a href="classes/Dnsruby/Dnssec.html#M000292">dlv_verifier (Dnsruby::Dnssec)</a><br />
|
90
91
|
<a href="classes/Dnsruby/RR/LOC.html#M000028">dms2latlon (Dnsruby::RR::LOC)</a><br />
|
91
|
-
<a href="classes/Dnsruby/Resolver.html#
|
92
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
93
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
94
|
-
<a href="classes/Dnsruby/Config.html#
|
95
|
-
<a href="classes/Dnsruby/Config.html#
|
92
|
+
<a href="classes/Dnsruby/Resolver.html#M000346">dnssec= (Dnsruby::Resolver)</a><br />
|
93
|
+
<a href="classes/Dnsruby/Dnssec.html#M000281">do_validation_with_recursor (Dnsruby::Dnssec)</a><br />
|
94
|
+
<a href="classes/Dnsruby/Dnssec.html#M000282">do_validation_with_recursor? (Dnsruby::Dnssec)</a><br />
|
95
|
+
<a href="classes/Dnsruby/Config.html#M000195">domain (Dnsruby::Config)</a><br />
|
96
|
+
<a href="classes/Dnsruby/Config.html#M000188">domain= (Dnsruby::Config)</a><br />
|
96
97
|
<a href="classes/Dnsruby/RR/DomainName.html#M000094">domainname= (Dnsruby::RR::DomainName)</a><br />
|
97
|
-
<a href="classes/Dnsruby/Name.html#
|
98
|
+
<a href="classes/Dnsruby/Name.html#M000128">downcase (Dnsruby::Name)</a><br />
|
98
99
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000065">dsa_key (Dnsruby::RR::DNSKEY)</a><br />
|
99
100
|
<a href="classes/Dnsruby/RR/NSAP.html#M000115">dsp (Dnsruby::RR::NSAP)</a><br />
|
100
|
-
<a href="classes/Dnsruby/RRSet.html#
|
101
|
-
<a href="classes/Dnsruby/Message.html#
|
102
|
-
<a href="classes/Dnsruby/
|
103
|
-
<a href="classes/Dnsruby/Resolv.html#
|
104
|
-
<a href="classes/Dnsruby/
|
105
|
-
<a href="classes/Dnsruby/Hosts.html#
|
106
|
-
<a href="classes/Dnsruby/Message.html#
|
107
|
-
<a href="classes/Dnsruby/Message.html#
|
108
|
-
<a href="classes/Dnsruby/Resolv.html#
|
109
|
-
<a href="classes/Dnsruby/
|
110
|
-
<a href="classes/Dnsruby/
|
111
|
-
<a href="classes/Dnsruby/
|
112
|
-
<a href="classes/Dnsruby/Message.html#
|
113
|
-
<a href="classes/Dnsruby/Message.html#
|
114
|
-
<a href="classes/Dnsruby/Message.html#
|
115
|
-
<a href="classes/Dnsruby/
|
116
|
-
<a href="classes/Dnsruby/
|
117
|
-
<a href="classes/Dnsruby/Message.html#
|
118
|
-
<a href="classes/Dnsruby/Message.html#
|
119
|
-
<a href="classes/Dnsruby/Message.html#
|
120
|
-
<a href="classes/Dnsruby/Header.html#
|
121
|
-
<a href="classes/Dnsruby/Message.html#
|
122
|
-
<a href="classes/Base32.html#
|
101
|
+
<a href="classes/Dnsruby/RRSet.html#M000238">each (Dnsruby::RRSet)</a><br />
|
102
|
+
<a href="classes/Dnsruby/Message.html#M000156">each_additional (Dnsruby::Message)</a><br />
|
103
|
+
<a href="classes/Dnsruby/Resolv.html#M000206">each_address (Dnsruby::Resolv)</a><br />
|
104
|
+
<a href="classes/Dnsruby/Resolv.html#M000199">each_address (Dnsruby::Resolv)</a><br />
|
105
|
+
<a href="classes/Dnsruby/DNS.html#M000314">each_address (Dnsruby::DNS)</a><br />
|
106
|
+
<a href="classes/Dnsruby/Hosts.html#M000219">each_address (Dnsruby::Hosts)</a><br />
|
107
|
+
<a href="classes/Dnsruby/Message.html#M000154">each_answer (Dnsruby::Message)</a><br />
|
108
|
+
<a href="classes/Dnsruby/Message.html#M000155">each_authority (Dnsruby::Message)</a><br />
|
109
|
+
<a href="classes/Dnsruby/Resolv.html#M000209">each_name (Dnsruby::Resolv)</a><br />
|
110
|
+
<a href="classes/Dnsruby/Resolv.html#M000202">each_name (Dnsruby::Resolv)</a><br />
|
111
|
+
<a href="classes/Dnsruby/DNS.html#M000317">each_name (Dnsruby::DNS)</a><br />
|
112
|
+
<a href="classes/Dnsruby/Hosts.html#M000222">each_name (Dnsruby::Hosts)</a><br />
|
113
|
+
<a href="classes/Dnsruby/Message.html#M000170">each_pre (Dnsruby::Message)</a><br />
|
114
|
+
<a href="classes/Dnsruby/Message.html#M000171">each_prerequisite (Dnsruby::Message)</a><br />
|
115
|
+
<a href="classes/Dnsruby/Message.html#M000153">each_question (Dnsruby::Message)</a><br />
|
116
|
+
<a href="classes/Dnsruby/DNS.html#M000320">each_resource (Dnsruby::DNS)</a><br />
|
117
|
+
<a href="classes/Dnsruby/Message.html#M000158">each_resource (Dnsruby::Message)</a><br />
|
118
|
+
<a href="classes/Dnsruby/Message.html#M000157">each_section (Dnsruby::Message)</a><br />
|
119
|
+
<a href="classes/Dnsruby/Message.html#M000172">each_update (Dnsruby::Message)</a><br />
|
120
|
+
<a href="classes/Dnsruby/Message.html#M000169">each_zone (Dnsruby::Message)</a><br />
|
121
|
+
<a href="classes/Dnsruby/Header.html#M000258">encode (Dnsruby::Header)</a><br />
|
122
|
+
<a href="classes/Dnsruby/Message.html#M000166">encode (Dnsruby::Message)</a><br />
|
123
|
+
<a href="classes/Base32.html#M000348">encode32hex (Base32)</a><br />
|
123
124
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000111">encode_next_hashed (Dnsruby::RR::NSEC3)</a><br />
|
124
125
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000112">encode_next_hashed (Dnsruby::RR::NSEC3)</a><br />
|
125
126
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000108">encode_salt (Dnsruby::RR::NSEC3)</a><br />
|
126
127
|
<a href="classes/Dnsruby/RR/NSEC.html#M000041">encode_types (Dnsruby::RR::NSEC)</a><br />
|
127
128
|
<a href="classes/Dnsruby/RR/NSEC.html#M000040">encode_types (Dnsruby::RR::NSEC)</a><br />
|
128
|
-
<a href="classes/Dnsruby/
|
129
|
-
<a href="classes/Dnsruby/
|
129
|
+
<a href="classes/Dnsruby/IPv4.html#M000226">eql? (Dnsruby::IPv4)</a><br />
|
130
|
+
<a href="classes/Dnsruby/Name/Label.html#M000144">eql? (Dnsruby::Name::Label)</a><br />
|
130
131
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000102">flags= (Dnsruby::RR::NSEC3)</a><br />
|
131
|
-
<a href="classes/Dnsruby/RR/DNSKEY.html#M000059">flags= (Dnsruby::RR::DNSKEY)</a><br />
|
132
132
|
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000089">flags= (Dnsruby::RR::NSEC3PARAM)</a><br />
|
133
|
+
<a href="classes/Dnsruby/RR/DNSKEY.html#M000059">flags= (Dnsruby::RR::DNSKEY)</a><br />
|
133
134
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000124">format_time (Dnsruby::RR::RRSIG)</a><br />
|
134
|
-
<a href="classes/Dnsruby/RR/TXT.html#M000070">from_data (Dnsruby::RR::TXT)</a><br />
|
135
135
|
<a href="classes/Dnsruby/RR/X25.html#M000066">from_data (Dnsruby::RR::X25)</a><br />
|
136
|
-
<a href="classes/Dnsruby/RR/TXT.html#
|
137
|
-
<a href="classes/Dnsruby/RR/
|
138
|
-
<a href="classes/Dnsruby/RR/IN/A.html#M000019">from_hash (Dnsruby::RR::IN::A)</a><br />
|
136
|
+
<a href="classes/Dnsruby/RR/TXT.html#M000070">from_data (Dnsruby::RR::TXT)</a><br />
|
137
|
+
<a href="classes/Dnsruby/RR/TKEY.html#M000025">from_hash (Dnsruby::RR::TKEY)</a><br />
|
139
138
|
<a href="classes/Dnsruby/RR/RP.html#M000091">from_hash (Dnsruby::RR::RP)</a><br />
|
139
|
+
<a href="classes/Dnsruby/RR/IN/A.html#M000019">from_hash (Dnsruby::RR::IN::A)</a><br />
|
140
140
|
<a href="classes/Dnsruby/RR/SOA.html#M000074">from_hash (Dnsruby::RR::SOA)</a><br />
|
141
|
-
<a href="classes/Dnsruby/RR/
|
141
|
+
<a href="classes/Dnsruby/RR/TXT.html#M000071">from_hash (Dnsruby::RR::TXT)</a><br />
|
142
|
+
<a href="classes/Dnsruby/RR/IN/SRV.html#M000016">from_hash (Dnsruby::RR::IN::SRV)</a><br />
|
142
143
|
<a href="classes/Dnsruby/RR/DS.html#M000048">from_key (Dnsruby::RR::DS)</a><br />
|
143
144
|
<a href="classes/Dnsruby/RR/IN/A.html#M000020">from_string (Dnsruby::RR::IN::A)</a><br />
|
144
|
-
<a href="classes/Dnsruby/RR/RRSIG.html#M000122">from_string (Dnsruby::RR::RRSIG)</a><br />
|
145
|
-
<a href="classes/Dnsruby/RR/DNSKEY.html#M000060">from_string (Dnsruby::RR::DNSKEY)</a><br />
|
146
|
-
<a href="classes/Dnsruby/RR/NSEC3.html#M000113">from_string (Dnsruby::RR::NSEC3)</a><br />
|
147
|
-
<a href="classes/Dnsruby/RR/DS.html#M000049">from_string (Dnsruby::RR::DS)</a><br />
|
148
145
|
<a href="classes/Dnsruby/RR/IN/SRV.html#M000017">from_string (Dnsruby::RR::IN::SRV)</a><br />
|
149
|
-
<a href="classes/Dnsruby/RR/
|
146
|
+
<a href="classes/Dnsruby/RR/DS.html#M000049">from_string (Dnsruby::RR::DS)</a><br />
|
150
147
|
<a href="classes/Dnsruby/RR/TXT.html#M000072">from_string (Dnsruby::RR::TXT)</a><br />
|
148
|
+
<a href="classes/Dnsruby/RR/RRSIG.html#M000122">from_string (Dnsruby::RR::RRSIG)</a><br />
|
149
|
+
<a href="classes/Dnsruby/RR/NSEC3.html#M000113">from_string (Dnsruby::RR::NSEC3)</a><br />
|
150
|
+
<a href="classes/Dnsruby/RR/DNSKEY.html#M000060">from_string (Dnsruby::RR::DNSKEY)</a><br />
|
151
151
|
<a href="classes/Dnsruby/RR/SOA.html#M000075">from_string (Dnsruby::RR::SOA)</a><br />
|
152
152
|
<a href="classes/Dnsruby/RR/NSEC.html#M000042">from_string (Dnsruby::RR::NSEC)</a><br />
|
153
|
+
<a href="classes/Dnsruby/RR/X25.html#M000067">from_string (Dnsruby::RR::X25)</a><br />
|
153
154
|
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000090">from_string (Dnsruby::RR::NSEC3PARAM)</a><br />
|
154
155
|
<a href="classes/Dnsruby/RR/TSIG.html#M000083">fudge= (Dnsruby::RR::TSIG)</a><br />
|
155
156
|
<a href="classes/Dnsruby/RR/DS.html#M000044">get_digest_type (Dnsruby::RR::DS)</a><br />
|
156
|
-
<a href="classes/Dnsruby/Message.html#
|
157
|
-
<a href="classes/Dnsruby/Header.html#
|
157
|
+
<a href="classes/Dnsruby/Message.html#M000147">get_exception (Dnsruby::Message)</a><br />
|
158
|
+
<a href="classes/Dnsruby/Header.html#M000252">get_header_rcode (Dnsruby::Header)</a><br />
|
158
159
|
<a href="classes/Dnsruby/RR.html#M000015">get_num (Dnsruby::RR)</a><br />
|
159
|
-
<a href="classes/Dnsruby/Message.html#
|
160
|
-
<a href="classes/Dnsruby/Resolver.html#
|
161
|
-
<a href="classes/Dnsruby/Config.html#
|
160
|
+
<a href="classes/Dnsruby/Message.html#M000163">get_opt (Dnsruby::Message)</a><br />
|
161
|
+
<a href="classes/Dnsruby/Resolver.html#M000336">get_ports_from (Dnsruby::Resolver)</a><br />
|
162
|
+
<a href="classes/Dnsruby/Config.html#M000196">get_ready (Dnsruby::Config)</a><br />
|
162
163
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000123">get_time (Dnsruby::RR::RRSIG)</a><br />
|
163
|
-
<a href="classes/Dnsruby/Resolver.html#
|
164
|
+
<a href="classes/Dnsruby/Resolver.html#M000339">get_tsig (Dnsruby::Resolver)</a><br />
|
164
165
|
<a href="classes/Dnsruby/RR/NSEC.html#M000037">get_types (Dnsruby::RR::NSEC)</a><br />
|
165
|
-
<a href="classes/Dnsruby/
|
166
|
-
<a href="classes/Dnsruby/Resolv.html#
|
167
|
-
<a href="classes/Dnsruby/Hosts.html#
|
168
|
-
<a href="classes/Dnsruby/
|
169
|
-
<a href="classes/Dnsruby/
|
170
|
-
<a href="classes/Dnsruby/Resolv.html#
|
171
|
-
<a href="classes/Dnsruby/
|
172
|
-
<a href="classes/Dnsruby/
|
173
|
-
<a href="classes/Dnsruby/Resolv.html#
|
174
|
-
<a href="classes/Dnsruby/Hosts.html#
|
175
|
-
<a href="classes/Dnsruby/
|
176
|
-
<a href="classes/Dnsruby/
|
177
|
-
<a href="classes/Dnsruby/
|
178
|
-
<a href="classes/Dnsruby/
|
179
|
-
<a href="classes/Dnsruby/
|
180
|
-
<a href="classes/Dnsruby/
|
181
|
-
<a href="classes/Dnsruby/DNS.html#
|
182
|
-
<a href="classes/Dnsruby/DNS.html#
|
183
|
-
<a href="classes/Dnsruby/
|
184
|
-
<a href="classes/Dnsruby/
|
185
|
-
<a href="classes/Dnsruby/
|
186
|
-
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000087">hash_alg= (Dnsruby::RR::NSEC3PARAM)</a><br />
|
166
|
+
<a href="classes/Dnsruby/Resolv.html#M000197">getaddress (Dnsruby::Resolv)</a><br />
|
167
|
+
<a href="classes/Dnsruby/Resolv.html#M000204">getaddress (Dnsruby::Resolv)</a><br />
|
168
|
+
<a href="classes/Dnsruby/Hosts.html#M000217">getaddress (Dnsruby::Hosts)</a><br />
|
169
|
+
<a href="classes/Dnsruby/DNS.html#M000312">getaddress (Dnsruby::DNS)</a><br />
|
170
|
+
<a href="classes/Dnsruby/DNS.html#M000313">getaddresses (Dnsruby::DNS)</a><br />
|
171
|
+
<a href="classes/Dnsruby/Resolv.html#M000198">getaddresses (Dnsruby::Resolv)</a><br />
|
172
|
+
<a href="classes/Dnsruby/Hosts.html#M000218">getaddresses (Dnsruby::Hosts)</a><br />
|
173
|
+
<a href="classes/Dnsruby/Resolv.html#M000205">getaddresses (Dnsruby::Resolv)</a><br />
|
174
|
+
<a href="classes/Dnsruby/Resolv.html#M000207">getname (Dnsruby::Resolv)</a><br />
|
175
|
+
<a href="classes/Dnsruby/Hosts.html#M000220">getname (Dnsruby::Hosts)</a><br />
|
176
|
+
<a href="classes/Dnsruby/Resolv.html#M000200">getname (Dnsruby::Resolv)</a><br />
|
177
|
+
<a href="classes/Dnsruby/DNS.html#M000315">getname (Dnsruby::DNS)</a><br />
|
178
|
+
<a href="classes/Dnsruby/DNS.html#M000316">getnames (Dnsruby::DNS)</a><br />
|
179
|
+
<a href="classes/Dnsruby/Hosts.html#M000221">getnames (Dnsruby::Hosts)</a><br />
|
180
|
+
<a href="classes/Dnsruby/Resolv.html#M000208">getnames (Dnsruby::Resolv)</a><br />
|
181
|
+
<a href="classes/Dnsruby/Resolv.html#M000201">getnames (Dnsruby::Resolv)</a><br />
|
182
|
+
<a href="classes/Dnsruby/DNS.html#M000318">getresource (Dnsruby::DNS)</a><br />
|
183
|
+
<a href="classes/Dnsruby/DNS.html#M000319">getresources (Dnsruby::DNS)</a><br />
|
184
|
+
<a href="classes/Dnsruby/Name/Label.html#M000145">hash (Dnsruby::Name::Label)</a><br />
|
185
|
+
<a href="classes/Dnsruby/IPv6.html#M000267">hash (Dnsruby::IPv6)</a><br />
|
186
|
+
<a href="classes/Dnsruby/IPv4.html#M000227">hash (Dnsruby::IPv4)</a><br />
|
187
187
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000099">hash_alg= (Dnsruby::RR::NSEC3)</a><br />
|
188
|
+
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000087">hash_alg= (Dnsruby::RR::NSEC3PARAM)</a><br />
|
188
189
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000104">hash_length= (Dnsruby::RR::NSEC3)</a><br />
|
189
|
-
<a href="classes/Dnsruby/Recursor.html#
|
190
|
+
<a href="classes/Dnsruby/Recursor.html#M000301">hints= (Dnsruby::Recursor)</a><br />
|
190
191
|
<a href="classes/Dnsruby/RR/NSAP.html#M000114">idp (Dnsruby::RR::NSAP)</a><br />
|
191
|
-
<a href="classes/Dnsruby/Resolver.html#
|
192
|
+
<a href="classes/Dnsruby/Resolver.html#M000340">ignore_truncation= (Dnsruby::Resolver)</a><br />
|
192
193
|
<a href="classes/Dnsruby/RR.html#M000010">implemented_rrs (Dnsruby::RR)</a><br />
|
194
|
+
<a href="classes/Dnsruby/RR.html#M000007">init_defaults (Dnsruby::RR)</a><br />
|
193
195
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000118">init_defaults (Dnsruby::RR::RRSIG)</a><br />
|
194
196
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000050">init_defaults (Dnsruby::RR::DNSKEY)</a><br />
|
195
197
|
<a href="classes/Dnsruby/RR/TSIG.html#M000080">init_defaults (Dnsruby::RR::TSIG)</a><br />
|
196
|
-
<a href="classes/Dnsruby/
|
197
|
-
<a href="classes/Dnsruby/Name/Label.html#M000140">inspect (Dnsruby::Name::Label)</a><br />
|
198
|
+
<a href="classes/Dnsruby/Name/Label.html#M000141">inspect (Dnsruby::Name::Label)</a><br />
|
198
199
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000062">key= (Dnsruby::RR::DNSKEY)</a><br />
|
199
200
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000061">key_tag (Dnsruby::RR::DNSKEY)</a><br />
|
200
|
-
<a href="classes/Dnsruby/RRSet.html#
|
201
|
+
<a href="classes/Dnsruby/RRSet.html#M000241">klass (Dnsruby::RRSet)</a><br />
|
201
202
|
<a href="classes/Dnsruby/RR.html#M000005">klass= (Dnsruby::RR)</a><br />
|
202
203
|
<a href="classes/Dnsruby/RR/LOC.html#M000029">latlon (Dnsruby::RR::LOC)</a><br />
|
203
204
|
<a href="classes/Dnsruby/RR/LOC.html#M000030">latlon2deg (Dnsruby::RR::LOC)</a><br />
|
204
205
|
<a href="classes/Dnsruby/RR/LOC.html#M000027">latlon2dms (Dnsruby::RR::LOC)</a><br />
|
205
|
-
<a href="classes/Dnsruby/Name/Label.html#
|
206
|
-
<a href="classes/Dnsruby/RRSet.html#
|
207
|
-
<a href="classes/Dnsruby/TheLog.html#
|
208
|
-
<a href="classes/Dnsruby/TheLog.html#
|
209
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
206
|
+
<a href="classes/Dnsruby/Name/Label.html#M000140">length (Dnsruby::Name::Label)</a><br />
|
207
|
+
<a href="classes/Dnsruby/RRSet.html#M000246">length (Dnsruby::RRSet)</a><br />
|
208
|
+
<a href="classes/Dnsruby/TheLog.html#M000270">level (Dnsruby::TheLog)</a><br />
|
209
|
+
<a href="classes/Dnsruby/TheLog.html#M000269">level= (Dnsruby::TheLog)</a><br />
|
210
|
+
<a href="classes/Dnsruby/Dnssec.html#M000280">load_itar (Dnsruby::Dnssec)</a><br />
|
210
211
|
<a href="classes/Dnsruby.html#M000001">log (Dnsruby)</a><br />
|
211
|
-
<a href="classes/Dnsruby/RRSet.html#
|
212
|
-
<a href="classes/Dnsruby/RR.html#M000003">name= (Dnsruby::RR)</a><br />
|
212
|
+
<a href="classes/Dnsruby/RRSet.html#M000244">name (Dnsruby::RRSet)</a><br />
|
213
213
|
<a href="classes/Dnsruby/RR/TSIG.html#M000081">name= (Dnsruby::RR::TSIG)</a><br />
|
214
|
-
<a href="classes/Dnsruby/
|
215
|
-
<a href="classes/Dnsruby/Config.html#
|
216
|
-
<a href="classes/Dnsruby/
|
217
|
-
<a href="classes/Dnsruby/
|
218
|
-
<a href="classes/Dnsruby/Config.html#
|
219
|
-
<a href="classes/Dnsruby/
|
220
|
-
<a href="classes/Dnsruby/
|
221
|
-
<a href="classes/Dnsruby/Header.html#M000251">new (Dnsruby::Header)</a><br />
|
222
|
-
<a href="classes/Dnsruby/RR/IN/WKS.html#M000022">new (Dnsruby::RR::IN::WKS)</a><br />
|
223
|
-
<a href="classes/Dnsruby/Resolv.html#M000201">new (Dnsruby::Resolv)</a><br />
|
224
|
-
<a href="classes/Dnsruby/RRSet.html#M000228">new (Dnsruby::RRSet)</a><br />
|
214
|
+
<a href="classes/Dnsruby/RR.html#M000003">name= (Dnsruby::RR)</a><br />
|
215
|
+
<a href="classes/Dnsruby/Config.html#M000183">nameserver (Dnsruby::Config)</a><br />
|
216
|
+
<a href="classes/Dnsruby/Config.html#M000192">nameserver= (Dnsruby::Config)</a><br />
|
217
|
+
<a href="classes/Dnsruby/Resolver.html#M000329">nameserver= (Dnsruby::Resolver)</a><br />
|
218
|
+
<a href="classes/Dnsruby/Config.html#M000184">ndots (Dnsruby::Config)</a><br />
|
219
|
+
<a href="classes/Dnsruby/Config.html#M000189">ndots= (Dnsruby::Config)</a><br />
|
220
|
+
<a href="classes/Dnsruby/Resolv.html#M000203">new (Dnsruby::Resolv)</a><br />
|
225
221
|
<a href="classes/Dnsruby/RR/OPT/Option.html#M000092">new (Dnsruby::RR::OPT::Option)</a><br />
|
226
|
-
<a href="classes/Dnsruby/
|
227
|
-
<a href="classes/Dnsruby/
|
228
|
-
<a href="classes/Dnsruby/
|
229
|
-
<a href="classes/Dnsruby/
|
230
|
-
<a href="classes/Dnsruby/
|
231
|
-
<a href="classes/Dnsruby/
|
232
|
-
<a href="classes/Dnsruby/
|
233
|
-
<a href="classes/Dnsruby/
|
222
|
+
<a href="classes/Dnsruby/Question.html#M000247">new (Dnsruby::Question)</a><br />
|
223
|
+
<a href="classes/Dnsruby/ZoneTransfer/Delta.html#M000181">new (Dnsruby::ZoneTransfer::Delta)</a><br />
|
224
|
+
<a href="classes/Dnsruby/Update.html#M000295">new (Dnsruby::Update)</a><br />
|
225
|
+
<a href="classes/Dnsruby/Config.html#M000186">new (Dnsruby::Config)</a><br />
|
226
|
+
<a href="classes/Dnsruby/ZoneTransfer.html#M000179">new (Dnsruby::ZoneTransfer)</a><br />
|
227
|
+
<a href="classes/Dnsruby/Recursor.html#M000300">new (Dnsruby::Recursor)</a><br />
|
228
|
+
<a href="classes/Dnsruby/Name/Label.html#M000138">new (Dnsruby::Name::Label)</a><br />
|
229
|
+
<a href="classes/Dnsruby/DNS.html#M000311">new (Dnsruby::DNS)</a><br />
|
230
|
+
<a href="classes/Dnsruby/Message.html#M000146">new (Dnsruby::Message)</a><br />
|
231
|
+
<a href="classes/Dnsruby/Message/Section.html#M000173">new (Dnsruby::Message::Section)</a><br />
|
232
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000210">new (Dnsruby::SingleResolver)</a><br />
|
233
|
+
<a href="classes/Dnsruby/RRSet.html#M000230">new (Dnsruby::RRSet)</a><br />
|
234
|
+
<a href="classes/Dnsruby/Resolver.html#M000326">new (Dnsruby::Resolver)</a><br />
|
234
235
|
<a href="classes/Dnsruby/RR/TKEY.html#M000024">new (Dnsruby::RR::TKEY)</a><br />
|
235
|
-
<a href="classes/Dnsruby/
|
236
|
-
<a href="classes/Dnsruby/
|
237
|
-
<a href="classes/Dnsruby/
|
238
|
-
<a href="classes/Dnsruby/Header.html#
|
236
|
+
<a href="classes/Dnsruby/Hosts.html#M000216">new (Dnsruby::Hosts)</a><br />
|
237
|
+
<a href="classes/Dnsruby/RR/IN/WKS.html#M000022">new (Dnsruby::RR::IN::WKS)</a><br />
|
238
|
+
<a href="classes/Dnsruby/Header.html#M000253">new (Dnsruby::Header)</a><br />
|
239
|
+
<a href="classes/Dnsruby/Header.html#M000256">new_from_data (Dnsruby::Header)</a><br />
|
239
240
|
<a href="classes/Dnsruby/RR.html#M000008">new_from_hash (Dnsruby::RR)</a><br />
|
240
241
|
<a href="classes/Dnsruby/RR.html#M000009">new_from_string (Dnsruby::RR)</a><br />
|
241
242
|
<a href="classes/Dnsruby/RR/NSEC.html#M000033">next_domain= (Dnsruby::RR::NSEC)</a><br />
|
242
|
-
<a href="classes/Dnsruby/Header.html#
|
243
|
-
<a href="classes/Dnsruby/DNS.html#
|
243
|
+
<a href="classes/Dnsruby/Header.html#M000254">opcode= (Dnsruby::Header)</a><br />
|
244
|
+
<a href="classes/Dnsruby/DNS.html#M000308">open (Dnsruby::DNS)</a><br />
|
244
245
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000103">opt_out? (Dnsruby::RR::NSEC3)</a><br />
|
245
246
|
<a href="classes/Dnsruby/RR/TKEY.html#M000023">other_data= (Dnsruby::RR::TKEY)</a><br />
|
246
|
-
<a href="classes/Dnsruby/SingleResolver.html#
|
247
|
-
<a href="classes/Dnsruby/Resolver.html#
|
248
|
-
<a href="classes/Dnsruby/Resolver.html#
|
249
|
-
<a href="classes/Dnsruby/Resolver.html#
|
250
|
-
<a href="classes/Dnsruby/Resolver.html#
|
251
|
-
<a href="classes/Dnsruby/Resolver.html#
|
247
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000213">packet_timeout= (Dnsruby::SingleResolver)</a><br />
|
248
|
+
<a href="classes/Dnsruby/Resolver.html#M000330">packet_timeout= (Dnsruby::Resolver)</a><br />
|
249
|
+
<a href="classes/Dnsruby/Resolver.html#M000343">persistent_tcp= (Dnsruby::Resolver)</a><br />
|
250
|
+
<a href="classes/Dnsruby/Resolver.html#M000344">persistent_udp= (Dnsruby::Resolver)</a><br />
|
251
|
+
<a href="classes/Dnsruby/Resolver.html#M000342">port= (Dnsruby::Resolver)</a><br />
|
252
|
+
<a href="classes/Dnsruby/Resolver.html#M000335">port_in_range (Dnsruby::Resolver)</a><br />
|
252
253
|
<a href="classes/Dnsruby/RR/LOC.html#M000031">precsize_ntoval (Dnsruby::RR::LOC)</a><br />
|
253
254
|
<a href="classes/Dnsruby/RR/LOC.html#M000032">precsize_valton (Dnsruby::RR::LOC)</a><br />
|
254
|
-
<a href="classes/Dnsruby/Update.html#
|
255
|
+
<a href="classes/Dnsruby/Update.html#M000296">present (Dnsruby::Update)</a><br />
|
255
256
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000051">protocol= (Dnsruby::RR::DNSKEY)</a><br />
|
256
|
-
<a href="classes/Dnsruby/Recursor.html#
|
257
|
+
<a href="classes/Dnsruby/Recursor.html#M000307">prune_rrsets_to_rfc5452 (Dnsruby::Recursor)</a><br />
|
257
258
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000063">public_key (Dnsruby::RR::DNSKEY)</a><br />
|
258
|
-
<a href="classes/Dnsruby/Question.html#
|
259
|
-
<a href="classes/Dnsruby/Question.html#
|
260
|
-
<a href="classes/Dnsruby/Question.html#
|
261
|
-
<a href="classes/Dnsruby/Recursor.html#
|
262
|
-
<a href="classes/Dnsruby/Resolver.html#
|
263
|
-
<a href="classes/Dnsruby/SingleResolver.html#
|
264
|
-
<a href="classes/Dnsruby/Message.html#
|
265
|
-
<a href="classes/Dnsruby/Header.html#
|
259
|
+
<a href="classes/Dnsruby/Question.html#M000249">qclass= (Dnsruby::Question)</a><br />
|
260
|
+
<a href="classes/Dnsruby/Question.html#M000250">qname= (Dnsruby::Question)</a><br />
|
261
|
+
<a href="classes/Dnsruby/Question.html#M000248">qtype= (Dnsruby::Question)</a><br />
|
262
|
+
<a href="classes/Dnsruby/Recursor.html#M000306">query (Dnsruby::Recursor)</a><br />
|
263
|
+
<a href="classes/Dnsruby/Resolver.html#M000321">query (Dnsruby::Resolver)</a><br />
|
264
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000215">query_timeout= (Dnsruby::SingleResolver)</a><br />
|
265
|
+
<a href="classes/Dnsruby/Message.html#M000164">rcode (Dnsruby::Message)</a><br />
|
266
|
+
<a href="classes/Dnsruby/Header.html#M000255">rcode= (Dnsruby::Header)</a><br />
|
266
267
|
<a href="classes/Dnsruby/RR/TSIG.html#M000084">rdata_to_string (Dnsruby::RR::TSIG)</a><br />
|
267
|
-
<a href="classes/Dnsruby/RR/IN/A.html#M000021">rdata_to_string (Dnsruby::RR::IN::A)</a><br />
|
268
268
|
<a href="classes/Dnsruby/RR/IN/SRV.html#M000018">rdata_to_string (Dnsruby::RR::IN::SRV)</a><br />
|
269
|
-
<a href="classes/Dnsruby/RR/
|
270
|
-
<a href="classes/Dnsruby/RR.html#M000012">rdata_to_string (Dnsruby::RR)</a><br />
|
269
|
+
<a href="classes/Dnsruby/RR/IN/A.html#M000021">rdata_to_string (Dnsruby::RR::IN::A)</a><br />
|
271
270
|
<a href="classes/Dnsruby/RR/TXT.html#M000073">rdata_to_string (Dnsruby::RR::TXT)</a><br />
|
272
271
|
<a href="classes/Dnsruby/RR/TKEY.html#M000026">rdata_to_string (Dnsruby::RR::TKEY)</a><br />
|
272
|
+
<a href="classes/Dnsruby/RR.html#M000012">rdata_to_string (Dnsruby::RR)</a><br />
|
273
|
+
<a href="classes/Dnsruby/RR/X25.html#M000068">rdata_to_string (Dnsruby::RR::X25)</a><br />
|
273
274
|
<a href="classes/Dnsruby/RR.html#M000002">rdlength (Dnsruby::RR)</a><br />
|
274
|
-
<a href="classes/Dnsruby/Resolver.html#
|
275
|
-
<a href="classes/Dnsruby/Recursor.html#
|
276
|
-
<a href="classes/Dnsruby/Recursor.html#
|
277
|
-
<a href="classes/Dnsruby/Message/Section.html#
|
278
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
279
|
-
<a href="classes/Dnsruby/Config.html#
|
275
|
+
<a href="classes/Dnsruby/Resolver.html#M000345">recurse= (Dnsruby::Resolver)</a><br />
|
276
|
+
<a href="classes/Dnsruby/Recursor.html#M000304">recursion_callback (Dnsruby::Recursor)</a><br />
|
277
|
+
<a href="classes/Dnsruby/Recursor.html#M000303">recursion_callback= (Dnsruby::Recursor)</a><br />
|
278
|
+
<a href="classes/Dnsruby/Message/Section.html#M000177">remove_rrset (Dnsruby::Message::Section)</a><br />
|
279
|
+
<a href="classes/Dnsruby/Dnssec.html#M000276">remove_trust_anchor (Dnsruby::Dnssec)</a><br />
|
280
|
+
<a href="classes/Dnsruby/Config.html#M000187">reset (Dnsruby::Config)</a><br />
|
280
281
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000053">revoked= (Dnsruby::RR::DNSKEY)</a><br />
|
281
282
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000054">revoked? (Dnsruby::RR::DNSKEY)</a><br />
|
282
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
283
|
-
<a href="classes/Dnsruby/RRSet.html#
|
284
|
-
<a href="classes/Dnsruby/Message
|
285
|
-
<a href="classes/Dnsruby/Message.html#
|
286
|
-
<a href="classes/Dnsruby/Message/Section.html#
|
287
|
-
<a href="classes/Dnsruby/Message.html#
|
283
|
+
<a href="classes/Dnsruby/Dnssec.html#M000293">root_verifier (Dnsruby::Dnssec)</a><br />
|
284
|
+
<a href="classes/Dnsruby/RRSet.html#M000232">rrs (Dnsruby::RRSet)</a><br />
|
285
|
+
<a href="classes/Dnsruby/Message.html#M000149">rrset (Dnsruby::Message)</a><br />
|
286
|
+
<a href="classes/Dnsruby/Message/Section.html#M000174">rrset (Dnsruby::Message::Section)</a><br />
|
287
|
+
<a href="classes/Dnsruby/Message/Section.html#M000175">rrsets (Dnsruby::Message::Section)</a><br />
|
288
|
+
<a href="classes/Dnsruby/Message.html#M000150">rrsets (Dnsruby::Message)</a><br />
|
288
289
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000064">rsa_key (Dnsruby::RR::DNSKEY)</a><br />
|
289
290
|
<a href="classes/Dnsruby/RR/NSAP.html#M000116">rsvd (Dnsruby::RR::NSAP)</a><br />
|
290
|
-
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000085">salt (Dnsruby::RR::NSEC3PARAM)</a><br />
|
291
291
|
<a href="classes/Dnsruby/RR/NSEC3.html#M000105">salt (Dnsruby::RR::NSEC3)</a><br />
|
292
|
-
<a href="classes/Dnsruby/RR/
|
292
|
+
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000085">salt (Dnsruby::RR::NSEC3PARAM)</a><br />
|
293
293
|
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000086">salt= (Dnsruby::RR::NSEC3PARAM)</a><br />
|
294
|
+
<a href="classes/Dnsruby/RR/NSEC3.html#M000106">salt= (Dnsruby::RR::NSEC3)</a><br />
|
294
295
|
<a href="classes/Dnsruby/RR.html#M000006">sameRRset (Dnsruby::RR)</a><br />
|
295
|
-
<a href="classes/Dnsruby/Config.html#
|
296
|
-
<a href="classes/Dnsruby/Config.html#
|
297
|
-
<a href="classes/Dnsruby/Message.html#
|
298
|
-
<a href="classes/Dnsruby/Resolver.html#
|
299
|
-
<a href="classes/Dnsruby/Resolver.html#
|
300
|
-
<a href="classes/Dnsruby/Resolver.html#
|
296
|
+
<a href="classes/Dnsruby/Config.html#M000194">search (Dnsruby::Config)</a><br />
|
297
|
+
<a href="classes/Dnsruby/Config.html#M000190">search= (Dnsruby::Config)</a><br />
|
298
|
+
<a href="classes/Dnsruby/Message.html#M000151">section_rrsets (Dnsruby::Message)</a><br />
|
299
|
+
<a href="classes/Dnsruby/Resolver.html#M000324">send_async (Dnsruby::Resolver)</a><br />
|
300
|
+
<a href="classes/Dnsruby/Resolver.html#M000322">send_message (Dnsruby::Resolver)</a><br />
|
301
|
+
<a href="classes/Dnsruby/Resolver.html#M000323">send_plain_message (Dnsruby::Resolver)</a><br />
|
301
302
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000057">sep_key= (Dnsruby::RR::DNSKEY)</a><br />
|
302
303
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000058">sep_key? (Dnsruby::RR::DNSKEY)</a><br />
|
303
|
-
<a href="classes/Dnsruby/SingleResolver.html#
|
304
|
-
<a href="classes/Dnsruby/SingleResolver.html#
|
305
|
-
<a href="classes/Dnsruby/Config.html#
|
306
|
-
<a href="classes/Dnsruby/Resolver.html#
|
304
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000212">server (Dnsruby::SingleResolver)</a><br />
|
305
|
+
<a href="classes/Dnsruby/SingleResolver.html#M000211">server= (Dnsruby::SingleResolver)</a><br />
|
306
|
+
<a href="classes/Dnsruby/Config.html#M000185">set_config_info (Dnsruby::Config)</a><br />
|
307
|
+
<a href="classes/Dnsruby/Resolver.html#M000327">set_config_nameserver (Dnsruby::Resolver)</a><br />
|
307
308
|
<a href="classes/Dnsruby/RR/DomainName.html#M000093">set_domain_name (Dnsruby::RR::DomainName)</a><br />
|
308
|
-
<a href="classes/Dnsruby/Recursor.html#
|
309
|
-
<a href="classes/Dnsruby/TheLog.html#
|
310
|
-
<a href="classes/Dnsruby/Name/Label.html#
|
311
|
-
<a href="classes/Dnsruby/Message.html#
|
309
|
+
<a href="classes/Dnsruby/Recursor.html#M000302">set_hints (Dnsruby::Recursor)</a><br />
|
310
|
+
<a href="classes/Dnsruby/TheLog.html#M000268">set_logger (Dnsruby::TheLog)</a><br />
|
311
|
+
<a href="classes/Dnsruby/Name/Label.html#M000137">set_max_length (Dnsruby::Name::Label)</a><br />
|
312
|
+
<a href="classes/Dnsruby/Message.html#M000160">set_tsig (Dnsruby::Message)</a><br />
|
312
313
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000125">sig_data (Dnsruby::RR::RRSIG)</a><br />
|
313
|
-
<a href="classes/Dnsruby/Message.html#
|
314
|
+
<a href="classes/Dnsruby/Message.html#M000161">signed? (Dnsruby::Message)</a><br />
|
314
315
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000121">signers_name= (Dnsruby::RR::RRSIG)</a><br />
|
315
|
-
<a href="classes/Dnsruby/RRSet.html#
|
316
|
-
<a href="classes/Dnsruby/RRSet.html#
|
317
|
-
<a href="classes/Dnsruby/Name
|
318
|
-
<a href="classes/Dnsruby/
|
319
|
-
<a href="classes/Dnsruby/Resolver.html#
|
320
|
-
<a href="classes/Dnsruby/Resolver.html#
|
316
|
+
<a href="classes/Dnsruby/RRSet.html#M000231">sigs (Dnsruby::RRSet)</a><br />
|
317
|
+
<a href="classes/Dnsruby/RRSet.html#M000235">sort_canonical (Dnsruby::RRSet)</a><br />
|
318
|
+
<a href="classes/Dnsruby/Name.html#M000127">split (Dnsruby::Name)</a><br />
|
319
|
+
<a href="classes/Dnsruby/Name/Label.html#M000136">split (Dnsruby::Name::Label)</a><br />
|
320
|
+
<a href="classes/Dnsruby/Resolver.html#M000341">src_address= (Dnsruby::Resolver)</a><br />
|
321
|
+
<a href="classes/Dnsruby/Resolver.html#M000331">src_port (Dnsruby::Resolver)</a><br />
|
322
|
+
<a href="classes/Dnsruby/Resolver.html#M000332">src_port= (Dnsruby::Resolver)</a><br />
|
321
323
|
<a href="classes/Dnsruby/RR/NSAP.html#M000117">str2bcd (Dnsruby::RR::NSAP)</a><br />
|
322
|
-
<a href="classes/Dnsruby/Name.html#
|
323
|
-
<a href="classes/Dnsruby/
|
324
|
-
<a href="classes/Dnsruby/
|
325
|
-
<a href="classes/Dnsruby/
|
326
|
-
<a href="classes/Dnsruby/
|
327
|
-
<a href="classes/Dnsruby/
|
328
|
-
<a href="classes/Dnsruby/
|
324
|
+
<a href="classes/Dnsruby/Name.html#M000134">subdomain_of? (Dnsruby::Name)</a><br />
|
325
|
+
<a href="classes/Dnsruby/IPv4.html#M000224">to_name (Dnsruby::IPv4)</a><br />
|
326
|
+
<a href="classes/Dnsruby/IPv6.html#M000266">to_name (Dnsruby::IPv6)</a><br />
|
327
|
+
<a href="classes/Dnsruby/Header.html#M000261">to_s (Dnsruby::Header)</a><br />
|
328
|
+
<a href="classes/Dnsruby/ZoneTransfer/Delta.html#M000182">to_s (Dnsruby::ZoneTransfer::Delta)</a><br />
|
329
|
+
<a href="classes/Dnsruby/IPv6.html#M000265">to_s (Dnsruby::IPv6)</a><br />
|
330
|
+
<a href="classes/Dnsruby/Question.html#M000251">to_s (Dnsruby::Question)</a><br />
|
329
331
|
<a href="classes/Dnsruby/RR.html#M000011">to_s (Dnsruby::RR)</a><br />
|
330
|
-
<a href="classes/Dnsruby/DNS.html#
|
331
|
-
<a href="classes/Dnsruby/
|
332
|
-
<a href="classes/Dnsruby/
|
333
|
-
<a href="classes/Dnsruby/
|
334
|
-
<a href="classes/Dnsruby/
|
335
|
-
<a href="classes/Dnsruby/
|
336
|
-
<a href="classes/Dnsruby/Header.html#
|
337
|
-
<a href="classes/Dnsruby/ZoneTransfer.html#
|
338
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
339
|
-
<a href="classes/Dnsruby/Message.html#
|
340
|
-
<a href="classes/Dnsruby/
|
341
|
-
<a href="classes/Dnsruby/
|
342
|
-
<a href="classes/Dnsruby/RRSet.html#
|
343
|
-
<a href="classes/Dnsruby/RRSet.html#
|
344
|
-
<a href="classes/Dnsruby/RRSet.html#
|
332
|
+
<a href="classes/Dnsruby/DNS.html#M000310">to_s (Dnsruby::DNS)</a><br />
|
333
|
+
<a href="classes/Dnsruby/Config.html#M000193">to_s (Dnsruby::Config)</a><br />
|
334
|
+
<a href="classes/Dnsruby/Name.html#M000135">to_s (Dnsruby::Name)</a><br />
|
335
|
+
<a href="classes/Dnsruby/Name/Label.html#M000139">to_s (Dnsruby::Name::Label)</a><br />
|
336
|
+
<a href="classes/Dnsruby/Message.html#M000165">to_s (Dnsruby::Message)</a><br />
|
337
|
+
<a href="classes/Dnsruby/RRSet.html#M000245">to_s (Dnsruby::RRSet)</a><br />
|
338
|
+
<a href="classes/Dnsruby/Header.html#M000262">to_s_with_rcode (Dnsruby::Header)</a><br />
|
339
|
+
<a href="classes/Dnsruby/ZoneTransfer.html#M000180">transfer (Dnsruby::ZoneTransfer)</a><br />
|
340
|
+
<a href="classes/Dnsruby/Dnssec.html#M000278">trust_anchors (Dnsruby::Dnssec)</a><br />
|
341
|
+
<a href="classes/Dnsruby/Message.html#M000159">tsig (Dnsruby::Message)</a><br />
|
342
|
+
<a href="classes/Dnsruby/Resolver.html#M000338">tsig= (Dnsruby::Resolver)</a><br />
|
343
|
+
<a href="classes/Dnsruby/ZoneTransfer.html#M000178">tsig= (Dnsruby::ZoneTransfer)</a><br />
|
344
|
+
<a href="classes/Dnsruby/RRSet.html#M000242">ttl (Dnsruby::RRSet)</a><br />
|
345
|
+
<a href="classes/Dnsruby/RRSet.html#M000243">ttl= (Dnsruby::RRSet)</a><br />
|
346
|
+
<a href="classes/Dnsruby/RRSet.html#M000240">type (Dnsruby::RRSet)</a><br />
|
345
347
|
<a href="classes/Dnsruby/RR.html#M000004">type= (Dnsruby::RR)</a><br />
|
346
348
|
<a href="classes/Dnsruby/RR/RRSIG.html#M000120">type_covered= (Dnsruby::RR::RRSIG)</a><br />
|
347
|
-
<a href="classes/Dnsruby/RR/NSEC3.html#M000100">types= (Dnsruby::RR::NSEC3)</a><br />
|
348
349
|
<a href="classes/Dnsruby/RR/NSEC.html#M000036">types= (Dnsruby::RR::NSEC)</a><br />
|
349
350
|
<a href="classes/Dnsruby/RR/NSEC3PARAM.html#M000088">types= (Dnsruby::RR::NSEC3PARAM)</a><br />
|
350
|
-
<a href="classes/Dnsruby/
|
351
|
-
<a href="classes/Dnsruby/
|
352
|
-
<a href="classes/Dnsruby/Classes.html#
|
353
|
-
<a href="classes/Dnsruby/
|
354
|
-
<a href="classes/Dnsruby/Resolver.html#
|
355
|
-
<a href="classes/Dnsruby/
|
356
|
-
<a href="classes/Dnsruby/Dnssec.html#M000285">
|
357
|
-
<a href="classes/Dnsruby/Dnssec.html#M000287">
|
358
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
359
|
-
<a href="classes/Dnsruby/Dnssec.html#M000286">
|
360
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
361
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
362
|
-
<a href="classes/Dnsruby/
|
351
|
+
<a href="classes/Dnsruby/RR/NSEC3.html#M000100">types= (Dnsruby::RR::NSEC3)</a><br />
|
352
|
+
<a href="classes/Dnsruby/Resolver.html#M000347">udp_size= (Dnsruby::Resolver)</a><br />
|
353
|
+
<a href="classes/Dnsruby/Classes.html#M000229">unknown_code (Dnsruby::Classes)</a><br />
|
354
|
+
<a href="classes/Dnsruby/Classes.html#M000228">unknown_string (Dnsruby::Classes)</a><br />
|
355
|
+
<a href="classes/Dnsruby/Resolver.html#M000328">update_internal_res (Dnsruby::Resolver)</a><br />
|
356
|
+
<a href="classes/Dnsruby/Resolver.html#M000337">use_tcp= (Dnsruby::Resolver)</a><br />
|
357
|
+
<a href="classes/Dnsruby/Dnssec.html#M000285">validate (Dnsruby::Dnssec)</a><br />
|
358
|
+
<a href="classes/Dnsruby/Dnssec.html#M000287">validate_with_anchors (Dnsruby::Dnssec)</a><br />
|
359
|
+
<a href="classes/Dnsruby/Dnssec.html#M000289">validate_with_dlv (Dnsruby::Dnssec)</a><br />
|
360
|
+
<a href="classes/Dnsruby/Dnssec.html#M000286">validate_with_query (Dnsruby::Dnssec)</a><br />
|
361
|
+
<a href="classes/Dnsruby/Dnssec.html#M000288">validate_with_root (Dnsruby::Dnssec)</a><br />
|
362
|
+
<a href="classes/Dnsruby/Dnssec.html#M000272">validation_policy (Dnsruby::Dnssec)</a><br />
|
363
|
+
<a href="classes/Dnsruby/Dnssec.html#M000271">validation_policy= (Dnsruby::Dnssec)</a><br />
|
364
|
+
<a href="classes/Dnsruby/Message.html#M000162">verified? (Dnsruby::Message)</a><br />
|
365
|
+
<a href="classes/Dnsruby/Dnssec.html#M000290">verify (Dnsruby::Dnssec)</a><br />
|
363
366
|
<a href="classes/Dnsruby/RR/TSIG.html#M000078">verify (Dnsruby::RR::TSIG)</a><br />
|
364
|
-
<a href="classes/Dnsruby/Dnssec.html#M000288">verify (Dnsruby::Dnssec)</a><br />
|
365
367
|
<a href="classes/Dnsruby/RR/TSIG.html#M000079">verify_envelope (Dnsruby::RR::TSIG)</a><br />
|
366
|
-
<a href="classes/Dnsruby/Dnssec.html#
|
367
|
-
<a href="classes/Dnsruby/Name.html#
|
368
|
+
<a href="classes/Dnsruby/Dnssec.html#M000294">verify_rrset (Dnsruby::Dnssec)</a><br />
|
369
|
+
<a href="classes/Dnsruby/Name.html#M000130">wild? (Dnsruby::Name)</a><br />
|
368
370
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000055">zone_key= (Dnsruby::RR::DNSKEY)</a><br />
|
369
371
|
<a href="classes/Dnsruby/RR/DNSKEY.html#M000056">zone_key? (Dnsruby::RR::DNSKEY)</a><br />
|
370
372
|
</div>
|
data/lib/Dnsruby/Config.rb
CHANGED
@@ -144,7 +144,7 @@ module Dnsruby
|
|
144
144
|
if !dom.kind_of?(String)
|
145
145
|
raise ArgumentError.new("invalid domain config: #{@domain.inspect}")
|
146
146
|
end
|
147
|
-
@domain = Name::
|
147
|
+
@domain = Name::split(dom)
|
148
148
|
else
|
149
149
|
@domain=nil
|
150
150
|
end
|
@@ -165,14 +165,14 @@ module Dnsruby
|
|
165
165
|
@search=s
|
166
166
|
if @search
|
167
167
|
if @search.class == Array
|
168
|
-
@search = @search.map {|arg| Name::
|
168
|
+
@search = @search.map {|arg| Name::split(arg) }
|
169
169
|
else
|
170
170
|
raise ArgumentError.new("invalid search config: search must be an array!")
|
171
171
|
end
|
172
172
|
else
|
173
173
|
hostname = Socket.gethostname
|
174
174
|
if /\./ =~ hostname
|
175
|
-
@search = [Name
|
175
|
+
@search = [Name.split($')]
|
176
176
|
else
|
177
177
|
@search = [[]]
|
178
178
|
end
|
data/lib/Dnsruby/message.rb
CHANGED
@@ -129,7 +129,7 @@ module Dnsruby
|
|
129
129
|
else
|
130
130
|
next
|
131
131
|
end
|
132
|
-
# next if ((rr.type_covered != type) || (type != Types.RRSIG))
|
132
|
+
# next if ((rr.type_covered != type) || (type != Types.RRSIG))
|
133
133
|
elsif (rr.type != type)
|
134
134
|
next
|
135
135
|
end
|
@@ -933,7 +933,7 @@ module Dnsruby
|
|
933
933
|
if (len.class == String)
|
934
934
|
len = len.getbyte(0)
|
935
935
|
end
|
936
|
-
raise DecodeError.new("limit exceeded\nlimit = #{@limit}, index = #{@index}, len = #{len}\n") if @limit < @index + 1 + (len ? len:0)
|
936
|
+
raise DecodeError.new("limit exceeded\nlimit = #{@limit}, index = #{@index}, len = #{len}\n") if @limit < @index + 1 + (len ? len : 0)
|
937
937
|
d = @data[@index + 1, len]
|
938
938
|
@index += 1 + len
|
939
939
|
return d
|
@@ -982,11 +982,12 @@ module Dnsruby
|
|
982
982
|
|
983
983
|
def get_label
|
984
984
|
begin
|
985
|
-
label = Name::Label.new(Name::decode(self.get_string))
|
985
|
+
# label = Name::Label.new(Name::decode(self.get_string))
|
986
|
+
label = Name::Label.new(self.get_string)
|
986
987
|
return label
|
987
988
|
# return Name::Label::Str.new(self.get_string)
|
988
989
|
rescue ResolvError => e
|
989
|
-
raise DecodeError(e) # Turn it into something more suitable
|
990
|
+
raise DecodeError.new(e) # Turn it into something more suitable
|
990
991
|
end
|
991
992
|
end
|
992
993
|
|
@@ -1082,7 +1083,8 @@ module Dnsruby
|
|
1082
1083
|
|
1083
1084
|
|
1084
1085
|
def put_label(d)
|
1085
|
-
s, = Name.encode(d)
|
1086
|
+
# s, = Name.encode(d)
|
1087
|
+
s = d
|
1086
1088
|
raise RuntimeError, "length of #{s} is #{s.string.length} (larger than 63 octets)" if s.string.length > 63
|
1087
1089
|
self.put_string(s.string)
|
1088
1090
|
end
|
@@ -1122,7 +1124,7 @@ module Dnsruby
|
|
1122
1124
|
# If the name looks like an IP address then do an appropriate
|
1123
1125
|
# PTR query.
|
1124
1126
|
@qname=args[0]
|
1125
|
-
case @qname
|
1127
|
+
case @qname.to_s
|
1126
1128
|
when IPv4::Regex
|
1127
1129
|
@qname = IPv4.create(@qname).to_name
|
1128
1130
|
@qtype = Types.PTR
|
data/lib/Dnsruby/name.rb
CHANGED
@@ -63,7 +63,13 @@ module Dnsruby
|
|
63
63
|
|
64
64
|
def self.split_escaped(arg) #:nodoc: all
|
65
65
|
encodedlabels = name2encodedlabels(arg)
|
66
|
-
return
|
66
|
+
return encodedlabels
|
67
|
+
end
|
68
|
+
|
69
|
+
def self.split(name)
|
70
|
+
encodedlabels = name2encodedlabels(name)
|
71
|
+
labels = encodedlabels.each {|el| Name.decode(el.to_s)}
|
72
|
+
return labels
|
67
73
|
end
|
68
74
|
|
69
75
|
attr_reader :labels
|
@@ -88,7 +94,7 @@ module Dnsruby
|
|
88
94
|
def downcase
|
89
95
|
labels = []
|
90
96
|
@labels.each do |label| labels << Label.new(label.downcase) end
|
91
|
-
return Name.
|
97
|
+
return Name.new(labels)
|
92
98
|
end
|
93
99
|
|
94
100
|
def inspect # :nodoc:
|
@@ -121,7 +127,7 @@ module Dnsruby
|
|
121
127
|
def canonical
|
122
128
|
#
|
123
129
|
return MessageEncoder.new {|msg|
|
124
|
-
|
130
|
+
msg.put_name(self, true)
|
125
131
|
}.to_s
|
126
132
|
|
127
133
|
end
|
@@ -139,7 +145,7 @@ module Dnsruby
|
|
139
145
|
if (!(Name === n))
|
140
146
|
n = Name.create(n)
|
141
147
|
end
|
142
|
-
#
|
148
|
+
# Work out whether this name is canonically before the passed Name
|
143
149
|
# RFC 4034 section 6.1
|
144
150
|
# For the purposes of DNS security, owner names are ordered by treating
|
145
151
|
#individual labels as unsigned left-justified octet strings. The
|
@@ -216,7 +222,14 @@ module Dnsruby
|
|
216
222
|
# p Resolv::Name.create("x.y.z").to_s #=> "x.y.z"
|
217
223
|
#
|
218
224
|
def to_s
|
219
|
-
return @labels
|
225
|
+
return to_str(@labels)
|
226
|
+
end
|
227
|
+
|
228
|
+
def to_str(labels) # :nodoc: all
|
229
|
+
ls =[]
|
230
|
+
labels.each {|el| ls.push(Name.decode(el.to_s))}
|
231
|
+
return ls.join('.')
|
232
|
+
# return @labels.collect{|l| (l.kind_of?String) ? l : l.string}.join('.')
|
220
233
|
end
|
221
234
|
|
222
235
|
# Utility function
|
@@ -225,25 +238,26 @@ module Dnsruby
|
|
225
238
|
# array of "wire-format" labels.
|
226
239
|
# in: dName a string with a domain name in presentation format (1035
|
227
240
|
# sect 5.1)
|
228
|
-
# out: an array of labels in wire format.
|
241
|
+
# out: an array of labels in wire format.
|
229
242
|
def self.name2encodedlabels (dName) #:nodoc: all
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
243
|
+
# Check for "/" in the name : If there, then decode properly - otherwise, cheat and split on "."
|
244
|
+
if (dName.index("\\"))
|
245
|
+
names=[]
|
246
|
+
j=0;
|
247
|
+
while (dName && dName.length > 0)
|
248
|
+
names[j],dName = encode(dName)
|
249
|
+
j+=1
|
250
|
+
end
|
236
251
|
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
252
|
+
return names
|
253
|
+
else
|
254
|
+
labels = []
|
255
|
+
dName.split(".").each {|l|
|
256
|
+
labels.push(Label.new(l))
|
257
|
+
}
|
258
|
+
return labels
|
244
259
|
end
|
245
|
-
|
246
|
-
end
|
260
|
+
end
|
247
261
|
|
248
262
|
def self.decode(wire) #:nodoc: all
|
249
263
|
presentation=""
|
@@ -271,7 +285,7 @@ module Dnsruby
|
|
271
285
|
elsif ( c.chr == "@" )
|
272
286
|
presentation=presentation + "\\@"
|
273
287
|
elsif ( c.chr == "\\" )
|
274
|
-
presentation=presentation + "\\\\"
|
288
|
+
presentation=presentation + "\\\\"
|
275
289
|
elsif ( c.chr == ".")
|
276
290
|
presentation=presentation + "\\."
|
277
291
|
else
|
@@ -279,23 +293,24 @@ module Dnsruby
|
|
279
293
|
end
|
280
294
|
i=i+1
|
281
295
|
end
|
282
|
-
|
283
|
-
return
|
296
|
+
|
297
|
+
return presentation
|
298
|
+
# return Label.new(presentation)
|
284
299
|
end
|
285
300
|
|
286
301
|
|
287
302
|
|
288
|
-
# wire,leftover=presentation2wire(leftover)
|
303
|
+
# wire,leftover=presentation2wire(leftover)
|
289
304
|
# Will parse the input presentation format and return everything before
|
290
305
|
# the first non-escaped "." in the first element of the return array and
|
291
|
-
# all that has not been parsed yet in the 2nd argument.
|
306
|
+
# all that has not been parsed yet in the 2nd argument.
|
292
307
|
def self.encode(presentation) #:nodoc: all
|
293
308
|
presentation=presentation.to_s
|
294
309
|
wire="";
|
295
310
|
length=presentation.length;
|
296
|
-
|
311
|
+
|
297
312
|
i=0;
|
298
|
-
|
313
|
+
|
299
314
|
while (i < length )
|
300
315
|
c=presentation.unpack("x#{i}C1") [0]
|
301
316
|
if (c == 46) # ord('.')
|
@@ -333,7 +348,7 @@ module Dnsruby
|
|
333
348
|
end
|
334
349
|
i=i+1
|
335
350
|
end
|
336
|
-
|
351
|
+
|
337
352
|
return Label.new(wire)
|
338
353
|
end
|
339
354
|
|
@@ -345,14 +360,12 @@ module Dnsruby
|
|
345
360
|
#(RFC1035, section 3.1)
|
346
361
|
#
|
347
362
|
class Label
|
363
|
+
include Comparable
|
348
364
|
MaxLabelLength = 63
|
349
365
|
@@max_length=MaxLabelLength
|
350
366
|
# Split a Name into its component Labels
|
351
367
|
def self.split(arg)
|
352
|
-
|
353
|
-
# arg.scan(/[^\.]+/) {labels << Str.new($&)}
|
354
|
-
arg.scan(/[^\.]+/) {labels << new($&)}
|
355
|
-
return labels
|
368
|
+
return Name.split(arg)
|
356
369
|
end
|
357
370
|
|
358
371
|
def self.set_max_length(l)
|
@@ -379,18 +392,24 @@ module Dnsruby
|
|
379
392
|
def inspect
|
380
393
|
return "#<#{self.class} #{self.to_s}>"
|
381
394
|
end
|
395
|
+
|
396
|
+
def <=>(other)
|
397
|
+
return (@downcase <=> other.downcase)
|
398
|
+
end
|
399
|
+
|
382
400
|
|
383
401
|
def ==(other)
|
384
402
|
return @downcase == other.downcase
|
385
403
|
end
|
386
|
-
|
404
|
+
|
387
405
|
def eql?(other)
|
388
406
|
return self == other
|
389
407
|
end
|
390
|
-
|
408
|
+
|
391
409
|
def hash
|
392
410
|
return @downcase.hash
|
393
411
|
end
|
412
|
+
|
394
413
|
end
|
395
414
|
end
|
396
415
|
end
|
@@ -210,6 +210,7 @@ module Dnsruby
|
|
210
210
|
hour=input[8,2]
|
211
211
|
min=input[10,2]
|
212
212
|
sec=input[12,2]
|
213
|
+
# @TODO@ REPLACE THIS BY LOCAL CODE - Time.gm DOG SLOW!
|
213
214
|
return Time.gm(year, mon, day, hour, min, sec).to_i
|
214
215
|
else
|
215
216
|
raise DecodeError.new("RRSIG : Illegal time value #{input} - see RFC 4034 section 3.2")
|
@@ -145,7 +145,7 @@ module Dnsruby
|
|
145
145
|
key = @key.gsub(" ", "")
|
146
146
|
# key = Base64::decode64(key)
|
147
147
|
key = key.unpack("m*")[0]
|
148
|
-
if (algorithm == HMAC_MD5)
|
148
|
+
if (algorithm.to_s.downcase == HMAC_MD5.to_s.downcase)
|
149
149
|
mac = OpenSSL::HMAC.digest(OpenSSL::Digest::MD5.new, key, data)
|
150
150
|
elsif (algorithm == HMAC_SHA1)
|
151
151
|
mac = OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1.new, key, data)
|
@@ -336,7 +336,6 @@ module Dnsruby
|
|
336
336
|
m.put_bytes(tsig.mac)
|
337
337
|
}.to_s
|
338
338
|
@buf = mac_bytes
|
339
|
-
else
|
340
339
|
end
|
341
340
|
return ok
|
342
341
|
end
|
@@ -128,7 +128,7 @@ module Dnsruby
|
|
128
128
|
send_queued_exceptions
|
129
129
|
send_queued_responses
|
130
130
|
send_queued_validation_responses
|
131
|
-
timeout = tick_time = 0.
|
131
|
+
timeout = tick_time = 0.1 # We provide a timer service to various Dnsruby classes
|
132
132
|
sockets=[]
|
133
133
|
timeouts=[]
|
134
134
|
has_observer = false
|
@@ -592,4 +592,4 @@ module Dnsruby
|
|
592
592
|
end
|
593
593
|
end
|
594
594
|
end
|
595
|
-
end
|
595
|
+
end
|
@@ -129,11 +129,11 @@ module Dnsruby
|
|
129
129
|
raise VerifyError.new("RRSET should have same type as RRSIG for verification")
|
130
130
|
end
|
131
131
|
|
132
|
-
#Each RR in the RRset MUST have the TTL listed in the
|
133
|
-
#RRSIG Original TTL Field;
|
134
|
-
if (rrset.ttl != sigrec.
|
135
|
-
raise VerifyError.new("RRSET should have same ttl as RRSIG for verification")
|
136
|
-
end
|
132
|
+
# #Each RR in the RRset MUST have the TTL listed in the
|
133
|
+
# #RRSIG Original TTL Field;
|
134
|
+
# if (rrset.ttl != sigrec.original_ttl)
|
135
|
+
# raise VerifyError.new("RRSET should have same ttl as RRSIG original_ttl for verification (should be #{sigrec.original_ttl} but was #{rrset.ttl}")
|
136
|
+
# end
|
137
137
|
|
138
138
|
# Now check that we are in the validity period for the RRSIG
|
139
139
|
now = Time.now.to_i
|
@@ -669,7 +669,7 @@ module Dnsruby
|
|
669
669
|
keyrec = nil
|
670
670
|
sigrec = nil
|
671
671
|
if (rrset.type == Types.DNSKEY)
|
672
|
-
if (keys && ((keys.type == Types.DS) || ((keys.type == Types.DLV) && (@verifier_type == VerifierType::DLV))))
|
672
|
+
if (keys && !(Array === keys) && ((keys.type == Types.DS) || ((keys.type == Types.DLV) && (@verifier_type == VerifierType::DLV))))
|
673
673
|
rrset.rrs.each do |key|
|
674
674
|
keys.rrs.each do |ds|
|
675
675
|
if (ds.check_key(key))
|
@@ -681,7 +681,7 @@ module Dnsruby
|
|
681
681
|
check_ds_stores(rrset)
|
682
682
|
end
|
683
683
|
end
|
684
|
-
if ((keys.nil?) || ((keys.type == Types.DS) || ((keys.type == Types.DLV) && (@verifier_type == VerifierType::DLV))))
|
684
|
+
if ((keys.nil?) || ((keys.class != Array) && ((keys.type == Types.DS) || ((keys.type == Types.DLV) && (@verifier_type == VerifierType::DLV)))))
|
685
685
|
keyrec, sigrec = get_matching_key(get_keys_to_check, sigrecs)
|
686
686
|
else
|
687
687
|
keyrec, sigrec = get_matching_key(keys, sigrecs)
|
data/test/tc_escapedchars.rb
CHANGED
@@ -182,7 +182,8 @@ class TestEscapedChars < Test::Unit::TestCase
|
|
182
182
|
labels = Name.name2encodedlabels(testinput[0])
|
183
183
|
|
184
184
|
# assert_equal(testinput[1], Net::labels2name(labels), "consistent name2labels labels2name for " + testinput[0])
|
185
|
-
name_from_labels = Name.encodedlabels2name(labels)
|
185
|
+
# name_from_labels = Name.encodedlabels2name(labels)
|
186
|
+
name_from_labels = Name.new(labels)
|
186
187
|
assert_equal(name.to_s, name_from_labels.to_s, "Name->Labels->Name for " + testinput[0])
|
187
188
|
|
188
189
|
# test number of labels
|
@@ -201,7 +202,7 @@ class TestEscapedChars < Test::Unit::TestCase
|
|
201
202
|
msg.put_name(name, true)}.to_s
|
202
203
|
|
203
204
|
wireinhex=wire.unpack("H*")[0]
|
204
|
-
assert_equal( testinput[4], wireinhex,"Wireinhex for " + testinput[0] )
|
205
|
+
assert_equal( testinput[4].to_s, wireinhex.to_s,"Wireinhex for " + testinput[0] )
|
205
206
|
# And now call DN_EXPAND
|
206
207
|
# name,offset=Name.dn_expand(wire,0)
|
207
208
|
|
data/test/tc_verifier.rb
CHANGED
@@ -26,7 +26,7 @@ class VerifierTest < Test::Unit::TestCase
|
|
26
26
|
# This shouldn't be in the code - but the key is rotated by the .se registry
|
27
27
|
# so we can't keep up with it in the test code.
|
28
28
|
# Oh, for a signed root...
|
29
|
-
# print "Adding keys : #{r.answer.rrset("se", 'DNSKEY')}\n"
|
29
|
+
# print "Adding keys : #{r.answer.rrset("se", 'DNSKEY')}\n"
|
30
30
|
Dnsruby::Dnssec.anchor_verifier.add_trusted_key(r.answer.rrset("se", 'DNSKEY'))
|
31
31
|
ret = Dnsruby::Dnssec.verify(r)
|
32
32
|
assert(ret, "Dnssec message verification failed : #{ret}")
|
@@ -149,10 +149,8 @@ class VerifierTest < Test::Unit::TestCase
|
|
149
149
|
# Let's check sources.org for DSA keys
|
150
150
|
Dnsruby::Dnssec.clear_trusted_keys
|
151
151
|
Dnsruby::Dnssec.clear_trust_anchors
|
152
|
-
res = Dnsruby::
|
153
|
-
res.
|
154
|
-
message = Dnsruby::Message.new("sources.org", Dnsruby::Types.DNSKEY)
|
155
|
-
ret = res.send_message(message)
|
152
|
+
res = Dnsruby::Recursor.new()
|
153
|
+
ret = res.query("sources.org", Dnsruby::Types.DNSKEY)
|
156
154
|
keys = ret.rrset("sources.org", "DNSKEY")
|
157
155
|
assert(keys && keys.length > 0)
|
158
156
|
dsa = nil
|
@@ -164,19 +162,18 @@ class VerifierTest < Test::Unit::TestCase
|
|
164
162
|
assert(dsa)
|
165
163
|
# Now do something with it
|
166
164
|
|
167
|
-
|
168
|
-
response = res.send_message(message)
|
165
|
+
response = res.query("sources.org", Dnsruby::Types.ANY)
|
169
166
|
verified = 0
|
170
|
-
# response.each_section {|sec|
|
171
|
-
|
172
|
-
|
167
|
+
# response.each_section {|sec|
|
168
|
+
response.answer.rrsets.each {|rs|
|
169
|
+
if (rs.sigs()[0].algorithm == Dnsruby::Algorithms.DSA &&
|
173
170
|
rs.sigs()[0].key_tag == dsa.key_tag)
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
171
|
+
ret = Dnsruby::Dnssec.verify_rrset(rs, keys)
|
172
|
+
assert(ret)
|
173
|
+
verified+=1
|
174
|
+
end
|
175
|
+
}
|
176
|
+
# }
|
180
177
|
assert(verified > 0)
|
181
178
|
end
|
182
179
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dnsruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: "1.
|
4
|
+
version: "1.33"
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- AlexD
|
@@ -9,7 +9,7 @@ autorequire: dnsruby
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-10 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|