dnsruby 1.1 → 1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. data/README +3 -3
  2. data/lib/Dnsruby/Config.rb +3 -3
  3. data/lib/Dnsruby/DNS.rb +4 -2
  4. data/lib/Dnsruby/Resolver.rb +42 -38
  5. data/lib/Dnsruby/SingleResolver.rb +29 -21
  6. data/lib/Dnsruby/TheLog.rb +5 -21
  7. data/lib/Dnsruby/dnssec.rb +1 -1
  8. data/lib/Dnsruby/event_machine_interface.rb +23 -22
  9. data/lib/Dnsruby/message.rb +1 -1
  10. data/lib/Dnsruby/name.rb +1 -0
  11. data/lib/Dnsruby/resource/TKEY.rb +1 -1
  12. data/lib/Dnsruby/resource/TSIG.rb +8 -8
  13. data/lib/Dnsruby/select_thread.rb +19 -17
  14. data/lib/Dnsruby/zone_transfer.rb +6 -6
  15. data/lib/dnsruby.rb +10 -1
  16. data/test/tc_dns.rb +5 -1
  17. data/test/tc_event_machine_deferrable.rb +1 -1
  18. data/test/tc_event_machine_res.rb +1 -1
  19. data/test/tc_event_machine_single_res.rb +1 -1
  20. data/test/tc_event_machine_soak.rb +4 -4
  21. data/test/tc_res_opt.rb +4 -4
  22. data/test/tc_single_resolver.rb +1 -6
  23. data/test/tc_soak_base.rb +2 -2
  24. data/test/tc_tsig.rb +3 -3
  25. data/test/ts_offline.rb +1 -1
  26. data/test/ts_online.rb +1 -1
  27. metadata +2 -480
  28. data/doc/classes/Dnsruby/Algorithms.html +0 -171
  29. data/doc/classes/Dnsruby/Classes.html +0 -197
  30. data/doc/classes/Dnsruby/Classes.src/M000209.html +0 -23
  31. data/doc/classes/Dnsruby/Classes.src/M000210.html +0 -19
  32. data/doc/classes/Dnsruby/CodeMapper.html +0 -375
  33. data/doc/classes/Dnsruby/CodeMapper.src/M000186.html +0 -18
  34. data/doc/classes/Dnsruby/CodeMapper.src/M000187.html +0 -33
  35. data/doc/classes/Dnsruby/CodeMapper.src/M000188.html +0 -21
  36. data/doc/classes/Dnsruby/CodeMapper.src/M000189.html +0 -19
  37. data/doc/classes/Dnsruby/CodeMapper.src/M000190.html +0 -19
  38. data/doc/classes/Dnsruby/CodeMapper.src/M000191.html +0 -18
  39. data/doc/classes/Dnsruby/CodeMapper.src/M000192.html +0 -22
  40. data/doc/classes/Dnsruby/CodeMapper.src/M000193.html +0 -22
  41. data/doc/classes/Dnsruby/CodeMapper.src/M000194.html +0 -22
  42. data/doc/classes/Dnsruby/CodeMapper.src/M000195.html +0 -31
  43. data/doc/classes/Dnsruby/CodeMapper.src/M000196.html +0 -19
  44. data/doc/classes/Dnsruby/Config.html +0 -413
  45. data/doc/classes/Dnsruby/Config.src/M000148.html +0 -18
  46. data/doc/classes/Dnsruby/Config.src/M000149.html +0 -19
  47. data/doc/classes/Dnsruby/Config.src/M000150.html +0 -19
  48. data/doc/classes/Dnsruby/Config.src/M000151.html +0 -25
  49. data/doc/classes/Dnsruby/Config.src/M000152.html +0 -21
  50. data/doc/classes/Dnsruby/Config.src/M000153.html +0 -38
  51. data/doc/classes/Dnsruby/Config.src/M000154.html +0 -26
  52. data/doc/classes/Dnsruby/Config.src/M000155.html +0 -22
  53. data/doc/classes/Dnsruby/Config.src/M000156.html +0 -27
  54. data/doc/classes/Dnsruby/Config.src/M000157.html +0 -22
  55. data/doc/classes/Dnsruby/Config.src/M000158.html +0 -21
  56. data/doc/classes/Dnsruby/DNS.html +0 -571
  57. data/doc/classes/Dnsruby/DNS.src/M000258.html +0 -24
  58. data/doc/classes/Dnsruby/DNS.src/M000259.html +0 -18
  59. data/doc/classes/Dnsruby/DNS.src/M000260.html +0 -18
  60. data/doc/classes/Dnsruby/DNS.src/M000261.html +0 -20
  61. data/doc/classes/Dnsruby/DNS.src/M000262.html +0 -19
  62. data/doc/classes/Dnsruby/DNS.src/M000263.html +0 -20
  63. data/doc/classes/Dnsruby/DNS.src/M000264.html +0 -18
  64. data/doc/classes/Dnsruby/DNS.src/M000265.html +0 -19
  65. data/doc/classes/Dnsruby/DNS.src/M000266.html +0 -20
  66. data/doc/classes/Dnsruby/DNS.src/M000267.html +0 -28
  67. data/doc/classes/Dnsruby/DNS.src/M000268.html +0 -19
  68. data/doc/classes/Dnsruby/DNS.src/M000269.html +0 -20
  69. data/doc/classes/Dnsruby/DNS.src/M000270.html +0 -31
  70. data/doc/classes/Dnsruby/DecodeError.html +0 -120
  71. data/doc/classes/Dnsruby/Dnssec.html +0 -287
  72. data/doc/classes/Dnsruby/Dnssec.src/M000249.html +0 -23
  73. data/doc/classes/Dnsruby/Dnssec.src/M000250.html +0 -19
  74. data/doc/classes/Dnsruby/Dnssec.src/M000251.html +0 -90
  75. data/doc/classes/Dnsruby/Dnssec.src/M000252.html +0 -76
  76. data/doc/classes/Dnsruby/EncodeError.html +0 -120
  77. data/doc/classes/Dnsruby/FormErr.html +0 -119
  78. data/doc/classes/Dnsruby/Header.html +0 -501
  79. data/doc/classes/Dnsruby/Header.src/M000231.html +0 -35
  80. data/doc/classes/Dnsruby/Header.src/M000232.html +0 -18
  81. data/doc/classes/Dnsruby/Header.src/M000233.html +0 -18
  82. data/doc/classes/Dnsruby/Header.src/M000234.html +0 -21
  83. data/doc/classes/Dnsruby/Header.src/M000235.html +0 -20
  84. data/doc/classes/Dnsruby/Header.src/M000236.html +0 -32
  85. data/doc/classes/Dnsruby/Header.src/M000237.html +0 -27
  86. data/doc/classes/Dnsruby/Header.src/M000238.html +0 -26
  87. data/doc/classes/Dnsruby/Header.src/M000239.html +0 -47
  88. data/doc/classes/Dnsruby/Header.src/M000240.html +0 -28
  89. data/doc/classes/Dnsruby/Header.src/M000241.html +0 -30
  90. data/doc/classes/Dnsruby/Hosts.html +0 -316
  91. data/doc/classes/Dnsruby/Hosts.src/M000197.html +0 -20
  92. data/doc/classes/Dnsruby/Hosts.src/M000198.html +0 -19
  93. data/doc/classes/Dnsruby/Hosts.src/M000199.html +0 -20
  94. data/doc/classes/Dnsruby/Hosts.src/M000200.html +0 -21
  95. data/doc/classes/Dnsruby/Hosts.src/M000201.html +0 -19
  96. data/doc/classes/Dnsruby/Hosts.src/M000202.html +0 -20
  97. data/doc/classes/Dnsruby/Hosts.src/M000203.html +0 -21
  98. data/doc/classes/Dnsruby/IPv4.html +0 -233
  99. data/doc/classes/Dnsruby/IPv4.src/M000204.html +0 -32
  100. data/doc/classes/Dnsruby/IPv4.src/M000205.html +0 -19
  101. data/doc/classes/Dnsruby/IPv4.src/M000206.html +0 -18
  102. data/doc/classes/Dnsruby/IPv4.src/M000207.html +0 -18
  103. data/doc/classes/Dnsruby/IPv4.src/M000208.html +0 -18
  104. data/doc/classes/Dnsruby/IPv6.html +0 -281
  105. data/doc/classes/Dnsruby/IPv6.src/M000242.html +0 -60
  106. data/doc/classes/Dnsruby/IPv6.src/M000243.html +0 -22
  107. data/doc/classes/Dnsruby/IPv6.src/M000244.html +0 -20
  108. data/doc/classes/Dnsruby/IPv6.src/M000245.html +0 -18
  109. data/doc/classes/Dnsruby/Message/Section.html +0 -160
  110. data/doc/classes/Dnsruby/Message/Section.src/M000141.html +0 -29
  111. data/doc/classes/Dnsruby/Message/Section.src/M000142.html +0 -30
  112. data/doc/classes/Dnsruby/Message.html +0 -803
  113. data/doc/classes/Dnsruby/Message.src/M000119.html +0 -38
  114. data/doc/classes/Dnsruby/Message.src/M000120.html +0 -26
  115. data/doc/classes/Dnsruby/Message.src/M000121.html +0 -22
  116. data/doc/classes/Dnsruby/Message.src/M000122.html +0 -22
  117. data/doc/classes/Dnsruby/Message.src/M000123.html +0 -20
  118. data/doc/classes/Dnsruby/Message.src/M000124.html +0 -20
  119. data/doc/classes/Dnsruby/Message.src/M000125.html +0 -20
  120. data/doc/classes/Dnsruby/Message.src/M000126.html +0 -20
  121. data/doc/classes/Dnsruby/Message.src/M000127.html +0 -18
  122. data/doc/classes/Dnsruby/Message.src/M000128.html +0 -20
  123. data/doc/classes/Dnsruby/Message.src/M000129.html +0 -23
  124. data/doc/classes/Dnsruby/Message.src/M000130.html +0 -30
  125. data/doc/classes/Dnsruby/Message.src/M000131.html +0 -20
  126. data/doc/classes/Dnsruby/Message.src/M000132.html +0 -18
  127. data/doc/classes/Dnsruby/Message.src/M000133.html +0 -56
  128. data/doc/classes/Dnsruby/Message.src/M000134.html +0 -35
  129. data/doc/classes/Dnsruby/Message.src/M000135.html +0 -46
  130. data/doc/classes/Dnsruby/MetaTypes.html +0 -136
  131. data/doc/classes/Dnsruby/Modes.html +0 -171
  132. data/doc/classes/Dnsruby/NXDomain.html +0 -119
  133. data/doc/classes/Dnsruby/Name/Label.html +0 -300
  134. data/doc/classes/Dnsruby/Name/Label.src/M000110.html +0 -21
  135. data/doc/classes/Dnsruby/Name/Label.src/M000111.html +0 -18
  136. data/doc/classes/Dnsruby/Name/Label.src/M000112.html +0 -22
  137. data/doc/classes/Dnsruby/Name/Label.src/M000113.html +0 -18
  138. data/doc/classes/Dnsruby/Name/Label.src/M000114.html +0 -18
  139. data/doc/classes/Dnsruby/Name/Label.src/M000115.html +0 -18
  140. data/doc/classes/Dnsruby/Name/Label.src/M000116.html +0 -18
  141. data/doc/classes/Dnsruby/Name/Label.src/M000117.html +0 -18
  142. data/doc/classes/Dnsruby/Name/Label.src/M000118.html +0 -18
  143. data/doc/classes/Dnsruby/Name.html +0 -330
  144. data/doc/classes/Dnsruby/Name.src/M000104.html +0 -28
  145. data/doc/classes/Dnsruby/Name.src/M000105.html +0 -20
  146. data/doc/classes/Dnsruby/Name.src/M000106.html +0 -18
  147. data/doc/classes/Dnsruby/Name.src/M000107.html +0 -21
  148. data/doc/classes/Dnsruby/Name.src/M000108.html +0 -22
  149. data/doc/classes/Dnsruby/Name.src/M000109.html +0 -18
  150. data/doc/classes/Dnsruby/NotImp.html +0 -119
  151. data/doc/classes/Dnsruby/OpCode.html +0 -146
  152. data/doc/classes/Dnsruby/OtherResolvError.html +0 -119
  153. data/doc/classes/Dnsruby/QTypes.html +0 -146
  154. data/doc/classes/Dnsruby/Question.html +0 -301
  155. data/doc/classes/Dnsruby/Question.src/M000226.html +0 -47
  156. data/doc/classes/Dnsruby/Question.src/M000227.html +0 -18
  157. data/doc/classes/Dnsruby/Question.src/M000228.html +0 -18
  158. data/doc/classes/Dnsruby/Question.src/M000229.html +0 -32
  159. data/doc/classes/Dnsruby/Question.src/M000230.html +0 -18
  160. data/doc/classes/Dnsruby/RCode.html +0 -211
  161. data/doc/classes/Dnsruby/RR/ANY.html +0 -133
  162. data/doc/classes/Dnsruby/RR/CERT/CertificateTypes.html +0 -169
  163. data/doc/classes/Dnsruby/RR/CERT.html +0 -180
  164. data/doc/classes/Dnsruby/RR/CNAME.html +0 -151
  165. data/doc/classes/Dnsruby/RR/DNAME.html +0 -150
  166. data/doc/classes/Dnsruby/RR/DNSKEY.html +0 -422
  167. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000044.html +0 -20
  168. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000045.html +0 -21
  169. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000046.html +0 -28
  170. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000047.html +0 -22
  171. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000048.html +0 -18
  172. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000049.html +0 -22
  173. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000050.html +0 -18
  174. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000051.html +0 -26
  175. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000052.html +0 -38
  176. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000053.html +0 -45
  177. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000054.html +0 -21
  178. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000055.html +0 -24
  179. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000056.html +0 -32
  180. data/doc/classes/Dnsruby/RR/DNSKEY.src/M000057.html +0 -24
  181. data/doc/classes/Dnsruby/RR/DS.html +0 -286
  182. data/doc/classes/Dnsruby/RR/DS.src/M000039.html +0 -22
  183. data/doc/classes/Dnsruby/RR/DS.src/M000040.html +0 -28
  184. data/doc/classes/Dnsruby/RR/DS.src/M000041.html +0 -24
  185. data/doc/classes/Dnsruby/RR/DS.src/M000042.html +0 -28
  186. data/doc/classes/Dnsruby/RR/DS.src/M000043.html +0 -36
  187. data/doc/classes/Dnsruby/RR/DomainName.html +0 -175
  188. data/doc/classes/Dnsruby/RR/DomainName.src/M000083.html +0 -18
  189. data/doc/classes/Dnsruby/RR/Generic.html +0 -133
  190. data/doc/classes/Dnsruby/RR/HINFO.html +0 -155
  191. data/doc/classes/Dnsruby/RR/IN/A.html +0 -200
  192. data/doc/classes/Dnsruby/RR/IN/A.src/M000017.html +0 -18
  193. data/doc/classes/Dnsruby/RR/IN/A.src/M000018.html +0 -18
  194. data/doc/classes/Dnsruby/RR/IN/A.src/M000019.html +0 -18
  195. data/doc/classes/Dnsruby/RR/IN/AAAA.html +0 -139
  196. data/doc/classes/Dnsruby/RR/IN/AFSDB.html +0 -145
  197. data/doc/classes/Dnsruby/RR/IN/PX.html +0 -143
  198. data/doc/classes/Dnsruby/RR/IN/SRV.html +0 -238
  199. data/doc/classes/Dnsruby/RR/IN/SRV.src/M000014.html +0 -29
  200. data/doc/classes/Dnsruby/RR/IN/SRV.src/M000015.html +0 -26
  201. data/doc/classes/Dnsruby/RR/IN/SRV.src/M000016.html +0 -22
  202. data/doc/classes/Dnsruby/RR/IN/WKS.html +0 -166
  203. data/doc/classes/Dnsruby/RR/IN/WKS.src/M000020.html +0 -20
  204. data/doc/classes/Dnsruby/RR/IN.html +0 -155
  205. data/doc/classes/Dnsruby/RR/ISDN.html +0 -155
  206. data/doc/classes/Dnsruby/RR/LOC.html +0 -395
  207. data/doc/classes/Dnsruby/RR/LOC.src/M000025.html +0 -32
  208. data/doc/classes/Dnsruby/RR/LOC.src/M000026.html +0 -23
  209. data/doc/classes/Dnsruby/RR/LOC.src/M000027.html +0 -25
  210. data/doc/classes/Dnsruby/RR/LOC.src/M000028.html +0 -21
  211. data/doc/classes/Dnsruby/RR/LOC.src/M000029.html +0 -20
  212. data/doc/classes/Dnsruby/RR/LOC.src/M000030.html +0 -23
  213. data/doc/classes/Dnsruby/RR/MB.html +0 -150
  214. data/doc/classes/Dnsruby/RR/MG.html +0 -150
  215. data/doc/classes/Dnsruby/RR/MINFO.html +0 -156
  216. data/doc/classes/Dnsruby/RR/MR.html +0 -150
  217. data/doc/classes/Dnsruby/RR/MX.html +0 -155
  218. data/doc/classes/Dnsruby/RR/NAPTR.html +0 -190
  219. data/doc/classes/Dnsruby/RR/NS.html +0 -151
  220. data/doc/classes/Dnsruby/RR/NSAP.html +0 -293
  221. data/doc/classes/Dnsruby/RR/NSAP.src/M000093.html +0 -19
  222. data/doc/classes/Dnsruby/RR/NSAP.src/M000094.html +0 -19
  223. data/doc/classes/Dnsruby/RR/NSAP.src/M000095.html +0 -22
  224. data/doc/classes/Dnsruby/RR/NSAP.src/M000096.html +0 -31
  225. data/doc/classes/Dnsruby/RR/NSEC.html +0 -301
  226. data/doc/classes/Dnsruby/RR/NSEC.src/M000031.html +0 -19
  227. data/doc/classes/Dnsruby/RR/NSEC.src/M000032.html +0 -18
  228. data/doc/classes/Dnsruby/RR/NSEC.src/M000033.html +0 -34
  229. data/doc/classes/Dnsruby/RR/NSEC.src/M000034.html +0 -18
  230. data/doc/classes/Dnsruby/RR/NSEC.src/M000035.html +0 -71
  231. data/doc/classes/Dnsruby/RR/NSEC.src/M000036.html +0 -18
  232. data/doc/classes/Dnsruby/RR/NSEC.src/M000037.html +0 -80
  233. data/doc/classes/Dnsruby/RR/NSEC.src/M000038.html +0 -23
  234. data/doc/classes/Dnsruby/RR/NSEC3.html +0 -366
  235. data/doc/classes/Dnsruby/RR/NSEC3.src/M000085.html +0 -28
  236. data/doc/classes/Dnsruby/RR/NSEC3.src/M000086.html +0 -18
  237. data/doc/classes/Dnsruby/RR/NSEC3.src/M000087.html +0 -18
  238. data/doc/classes/Dnsruby/RR/NSEC3.src/M000088.html +0 -22
  239. data/doc/classes/Dnsruby/RR/NSEC3.src/M000089.html +0 -18
  240. data/doc/classes/Dnsruby/RR/NSEC3.src/M000090.html +0 -21
  241. data/doc/classes/Dnsruby/RR/NSEC3.src/M000091.html +0 -21
  242. data/doc/classes/Dnsruby/RR/NSEC3.src/M000092.html +0 -29
  243. data/doc/classes/Dnsruby/RR/NSEC3PARAM.html +0 -279
  244. data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000077.html +0 -28
  245. data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000078.html +0 -18
  246. data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000079.html +0 -22
  247. data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000080.html +0 -21
  248. data/doc/classes/Dnsruby/RR/NSEC3PARAM.src/M000081.html +0 -25
  249. data/doc/classes/Dnsruby/RR/PTR.html +0 -132
  250. data/doc/classes/Dnsruby/RR/RP.html +0 -183
  251. data/doc/classes/Dnsruby/RR/RP.src/M000082.html +0 -19
  252. data/doc/classes/Dnsruby/RR/RRSIG.html +0 -357
  253. data/doc/classes/Dnsruby/RR/RRSIG.src/M000097.html +0 -26
  254. data/doc/classes/Dnsruby/RR/RRSIG.src/M000098.html +0 -28
  255. data/doc/classes/Dnsruby/RR/RRSIG.src/M000099.html +0 -23
  256. data/doc/classes/Dnsruby/RR/RRSIG.src/M000100.html +0 -23
  257. data/doc/classes/Dnsruby/RR/RRSIG.src/M000101.html +0 -46
  258. data/doc/classes/Dnsruby/RR/RRSIG.src/M000102.html +0 -50
  259. data/doc/classes/Dnsruby/RR/RRSIG.src/M000103.html +0 -27
  260. data/doc/classes/Dnsruby/RR/RT.html +0 -155
  261. data/doc/classes/Dnsruby/RR/SOA.html +0 -233
  262. data/doc/classes/Dnsruby/RR/SOA.src/M000066.html +0 -24
  263. data/doc/classes/Dnsruby/RR/SOA.src/M000067.html +0 -27
  264. data/doc/classes/Dnsruby/RR/SPF.html +0 -138
  265. data/doc/classes/Dnsruby/RR/TKEY.html +0 -313
  266. data/doc/classes/Dnsruby/RR/TKEY.src/M000021.html +0 -19
  267. data/doc/classes/Dnsruby/RR/TKEY.src/M000022.html +0 -29
  268. data/doc/classes/Dnsruby/RR/TKEY.src/M000023.html +0 -21
  269. data/doc/classes/Dnsruby/RR/TKEY.src/M000024.html +0 -29
  270. data/doc/classes/Dnsruby/RR/TSIG.html +0 -524
  271. data/doc/classes/Dnsruby/RR/TSIG.src/M000068.html +0 -24
  272. data/doc/classes/Dnsruby/RR/TSIG.src/M000069.html +0 -32
  273. data/doc/classes/Dnsruby/RR/TSIG.src/M000070.html +0 -54
  274. data/doc/classes/Dnsruby/RR/TSIG.src/M000071.html +0 -121
  275. data/doc/classes/Dnsruby/RR/TSIG.src/M000072.html +0 -33
  276. data/doc/classes/Dnsruby/RR/TSIG.src/M000073.html +0 -25
  277. data/doc/classes/Dnsruby/RR/TSIG.src/M000074.html +0 -36
  278. data/doc/classes/Dnsruby/RR/TSIG.src/M000075.html +0 -22
  279. data/doc/classes/Dnsruby/RR/TSIG.src/M000076.html +0 -29
  280. data/doc/classes/Dnsruby/RR/TXT.html +0 -233
  281. data/doc/classes/Dnsruby/RR/TXT.src/M000061.html +0 -18
  282. data/doc/classes/Dnsruby/RR/TXT.src/M000062.html +0 -18
  283. data/doc/classes/Dnsruby/RR/TXT.src/M000063.html +0 -20
  284. data/doc/classes/Dnsruby/RR/TXT.src/M000064.html +0 -27
  285. data/doc/classes/Dnsruby/RR/TXT.src/M000065.html +0 -25
  286. data/doc/classes/Dnsruby/RR/X25.html +0 -203
  287. data/doc/classes/Dnsruby/RR/X25.src/M000058.html +0 -18
  288. data/doc/classes/Dnsruby/RR/X25.src/M000059.html +0 -18
  289. data/doc/classes/Dnsruby/RR/X25.src/M000060.html +0 -22
  290. data/doc/classes/Dnsruby/RR.html +0 -648
  291. data/doc/classes/Dnsruby/RR.src/M000001.html +0 -18
  292. data/doc/classes/Dnsruby/RR.src/M000002.html +0 -22
  293. data/doc/classes/Dnsruby/RR.src/M000003.html +0 -18
  294. data/doc/classes/Dnsruby/RR.src/M000004.html +0 -18
  295. data/doc/classes/Dnsruby/RR.src/M000005.html +0 -26
  296. data/doc/classes/Dnsruby/RR.src/M000006.html +0 -18
  297. data/doc/classes/Dnsruby/RR.src/M000007.html +0 -36
  298. data/doc/classes/Dnsruby/RR.src/M000008.html +0 -100
  299. data/doc/classes/Dnsruby/RR.src/M000009.html +0 -18
  300. data/doc/classes/Dnsruby/RR.src/M000010.html +0 -18
  301. data/doc/classes/Dnsruby/RR.src/M000011.html +0 -22
  302. data/doc/classes/Dnsruby/RR.src/M000012.html +0 -29
  303. data/doc/classes/Dnsruby/RR.src/M000013.html +0 -24
  304. data/doc/classes/Dnsruby/RRSet.html +0 -404
  305. data/doc/classes/Dnsruby/RRSet.src/M000211.html +0 -23
  306. data/doc/classes/Dnsruby/RRSet.src/M000212.html +0 -18
  307. data/doc/classes/Dnsruby/RRSet.src/M000213.html +0 -18
  308. data/doc/classes/Dnsruby/RRSet.src/M000214.html +0 -47
  309. data/doc/classes/Dnsruby/RRSet.src/M000215.html +0 -42
  310. data/doc/classes/Dnsruby/RRSet.src/M000216.html +0 -18
  311. data/doc/classes/Dnsruby/RRSet.src/M000217.html +0 -20
  312. data/doc/classes/Dnsruby/RRSet.src/M000218.html +0 -18
  313. data/doc/classes/Dnsruby/RRSet.src/M000219.html +0 -18
  314. data/doc/classes/Dnsruby/RRSet.src/M000220.html +0 -18
  315. data/doc/classes/Dnsruby/RRSet.src/M000221.html +0 -18
  316. data/doc/classes/Dnsruby/RRSet.src/M000222.html +0 -22
  317. data/doc/classes/Dnsruby/RRSet.src/M000223.html +0 -18
  318. data/doc/classes/Dnsruby/RRSet.src/M000224.html +0 -22
  319. data/doc/classes/Dnsruby/RRSet.src/M000225.html +0 -18
  320. data/doc/classes/Dnsruby/Refused.html +0 -119
  321. data/doc/classes/Dnsruby/Resolv.html +0 -401
  322. data/doc/classes/Dnsruby/Resolv.src/M000159.html +0 -18
  323. data/doc/classes/Dnsruby/Resolv.src/M000160.html +0 -18
  324. data/doc/classes/Dnsruby/Resolv.src/M000161.html +0 -18
  325. data/doc/classes/Dnsruby/Resolv.src/M000162.html +0 -18
  326. data/doc/classes/Dnsruby/Resolv.src/M000163.html +0 -18
  327. data/doc/classes/Dnsruby/Resolv.src/M000164.html +0 -18
  328. data/doc/classes/Dnsruby/Resolv.src/M000165.html +0 -18
  329. data/doc/classes/Dnsruby/Resolv.src/M000166.html +0 -19
  330. data/doc/classes/Dnsruby/Resolv.src/M000167.html +0 -20
  331. data/doc/classes/Dnsruby/Resolv.src/M000168.html +0 -29
  332. data/doc/classes/Dnsruby/Resolv.src/M000169.html +0 -19
  333. data/doc/classes/Dnsruby/Resolv.src/M000170.html +0 -20
  334. data/doc/classes/Dnsruby/Resolv.src/M000171.html +0 -25
  335. data/doc/classes/Dnsruby/ResolvError.html +0 -117
  336. data/doc/classes/Dnsruby/ResolvTimeout.html +0 -117
  337. data/doc/classes/Dnsruby/Resolver.html +0 -1055
  338. data/doc/classes/Dnsruby/Resolver.src/M000271.html +0 -21
  339. data/doc/classes/Dnsruby/Resolver.src/M000272.html +0 -27
  340. data/doc/classes/Dnsruby/Resolver.src/M000273.html +0 -28
  341. data/doc/classes/Dnsruby/Resolver.src/M000274.html +0 -18
  342. data/doc/classes/Dnsruby/Resolver.src/M000275.html +0 -51
  343. data/doc/classes/Dnsruby/Resolver.src/M000276.html +0 -21
  344. data/doc/classes/Dnsruby/Resolver.src/M000277.html +0 -22
  345. data/doc/classes/Dnsruby/Resolver.src/M000278.html +0 -18
  346. data/doc/classes/Dnsruby/Resolver.src/M000279.html +0 -20
  347. data/doc/classes/Dnsruby/Resolver.src/M000280.html +0 -19
  348. data/doc/classes/Dnsruby/Resolver.src/M000281.html +0 -19
  349. data/doc/classes/Dnsruby/Resolver.src/M000282.html +0 -19
  350. data/doc/classes/Dnsruby/Resolver.src/M000283.html +0 -19
  351. data/doc/classes/Dnsruby/Resolver.src/M000284.html +0 -19
  352. data/doc/classes/Dnsruby/Resolver.src/M000285.html +0 -19
  353. data/doc/classes/Dnsruby/Resolver.src/M000286.html +0 -19
  354. data/doc/classes/Dnsruby/Resolver.src/M000287.html +0 -19
  355. data/doc/classes/Dnsruby/Resolver.src/M000288.html +0 -19
  356. data/doc/classes/Dnsruby/Resolver.src/M000289.html +0 -19
  357. data/doc/classes/Dnsruby/Resolver.src/M000290.html +0 -19
  358. data/doc/classes/Dnsruby/Resolver.src/M000291.html +0 -19
  359. data/doc/classes/Dnsruby/Resolver.src/M000292.html +0 -26
  360. data/doc/classes/Dnsruby/Resolver.src/M000293.html +0 -18
  361. data/doc/classes/Dnsruby/Resolver.src/M000294.html +0 -23
  362. data/doc/classes/Dnsruby/Resolver.src/M000295.html +0 -18
  363. data/doc/classes/Dnsruby/ServFail.html +0 -119
  364. data/doc/classes/Dnsruby/SingleResolver.html +0 -674
  365. data/doc/classes/Dnsruby/SingleResolver.src/M000172.html +0 -18
  366. data/doc/classes/Dnsruby/SingleResolver.src/M000173.html +0 -24
  367. data/doc/classes/Dnsruby/SingleResolver.src/M000174.html +0 -36
  368. data/doc/classes/Dnsruby/SingleResolver.src/M000175.html +0 -18
  369. data/doc/classes/Dnsruby/SingleResolver.src/M000176.html +0 -19
  370. data/doc/classes/Dnsruby/SingleResolver.src/M000177.html +0 -50
  371. data/doc/classes/Dnsruby/SingleResolver.src/M000178.html +0 -19
  372. data/doc/classes/Dnsruby/SingleResolver.src/M000179.html +0 -21
  373. data/doc/classes/Dnsruby/SingleResolver.src/M000180.html +0 -25
  374. data/doc/classes/Dnsruby/SingleResolver.src/M000181.html +0 -54
  375. data/doc/classes/Dnsruby/SingleResolver.src/M000182.html +0 -27
  376. data/doc/classes/Dnsruby/SingleResolver.src/M000183.html +0 -27
  377. data/doc/classes/Dnsruby/SingleResolver.src/M000184.html +0 -35
  378. data/doc/classes/Dnsruby/SingleResolver.src/M000185.html +0 -21
  379. data/doc/classes/Dnsruby/TheLog.html +0 -196
  380. data/doc/classes/Dnsruby/TheLog.src/M000246.html +0 -20
  381. data/doc/classes/Dnsruby/TheLog.src/M000247.html +0 -20
  382. data/doc/classes/Dnsruby/TheLog.src/M000248.html +0 -20
  383. data/doc/classes/Dnsruby/Types.html +0 -436
  384. data/doc/classes/Dnsruby/Update.html +0 -368
  385. data/doc/classes/Dnsruby/Update.src/M000253.html +0 -32
  386. data/doc/classes/Dnsruby/Update.src/M000254.html +0 -36
  387. data/doc/classes/Dnsruby/Update.src/M000255.html +0 -32
  388. data/doc/classes/Dnsruby/Update.src/M000256.html +0 -41
  389. data/doc/classes/Dnsruby/Update.src/M000257.html +0 -34
  390. data/doc/classes/Dnsruby/VerifyError.html +0 -119
  391. data/doc/classes/Dnsruby/ZoneTransfer/Delta.html +0 -200
  392. data/doc/classes/Dnsruby/ZoneTransfer/Delta.src/M000146.html +0 -19
  393. data/doc/classes/Dnsruby/ZoneTransfer/Delta.src/M000147.html +0 -19
  394. data/doc/classes/Dnsruby/ZoneTransfer.html +0 -300
  395. data/doc/classes/Dnsruby/ZoneTransfer.src/M000143.html +0 -18
  396. data/doc/classes/Dnsruby/ZoneTransfer.src/M000144.html +0 -24
  397. data/doc/classes/Dnsruby/ZoneTransfer.src/M000145.html +0 -35
  398. data/doc/classes/Dnsruby.html +0 -463
  399. data/doc/created.rid +0 -1
  400. data/doc/files/lib/Dnsruby/Config_rb.html +0 -101
  401. data/doc/files/lib/Dnsruby/DNS_rb.html +0 -110
  402. data/doc/files/lib/Dnsruby/Hosts_rb.html +0 -108
  403. data/doc/files/lib/Dnsruby/Resolver_rb.html +0 -109
  404. data/doc/files/lib/Dnsruby/SingleResolver_rb.html +0 -108
  405. data/doc/files/lib/Dnsruby/TheLog_rb.html +0 -110
  406. data/doc/files/lib/Dnsruby/code_mapper_rb.html +0 -101
  407. data/doc/files/lib/Dnsruby/dnssec_rb.html +0 -107
  408. data/doc/files/lib/Dnsruby/event_machine_interface_rb.html +0 -108
  409. data/doc/files/lib/Dnsruby/ipv4_rb.html +0 -101
  410. data/doc/files/lib/Dnsruby/ipv6_rb.html +0 -101
  411. data/doc/files/lib/Dnsruby/message_rb.html +0 -109
  412. data/doc/files/lib/Dnsruby/name_rb.html +0 -101
  413. data/doc/files/lib/Dnsruby/resource/AAAA_rb.html +0 -101
  414. data/doc/files/lib/Dnsruby/resource/AFSDB_rb.html +0 -101
  415. data/doc/files/lib/Dnsruby/resource/A_rb.html +0 -101
  416. data/doc/files/lib/Dnsruby/resource/CERT_rb.html +0 -101
  417. data/doc/files/lib/Dnsruby/resource/DNSKEY_rb.html +0 -101
  418. data/doc/files/lib/Dnsruby/resource/DS_rb.html +0 -101
  419. data/doc/files/lib/Dnsruby/resource/HINFO_rb.html +0 -101
  420. data/doc/files/lib/Dnsruby/resource/IN_rb.html +0 -112
  421. data/doc/files/lib/Dnsruby/resource/ISDN_rb.html +0 -101
  422. data/doc/files/lib/Dnsruby/resource/LOC_rb.html +0 -101
  423. data/doc/files/lib/Dnsruby/resource/MINFO_rb.html +0 -101
  424. data/doc/files/lib/Dnsruby/resource/MX_rb.html +0 -101
  425. data/doc/files/lib/Dnsruby/resource/NAPTR_rb.html +0 -101
  426. data/doc/files/lib/Dnsruby/resource/NSAP_rb.html +0 -101
  427. data/doc/files/lib/Dnsruby/resource/NSEC3PARAM_rb.html +0 -101
  428. data/doc/files/lib/Dnsruby/resource/NSEC3_rb.html +0 -101
  429. data/doc/files/lib/Dnsruby/resource/NSEC_rb.html +0 -101
  430. data/doc/files/lib/Dnsruby/resource/OPT_rb.html +0 -101
  431. data/doc/files/lib/Dnsruby/resource/PX_rb.html +0 -101
  432. data/doc/files/lib/Dnsruby/resource/RP_rb.html +0 -101
  433. data/doc/files/lib/Dnsruby/resource/RRSIG_rb.html +0 -101
  434. data/doc/files/lib/Dnsruby/resource/RT_rb.html +0 -101
  435. data/doc/files/lib/Dnsruby/resource/SOA_rb.html +0 -101
  436. data/doc/files/lib/Dnsruby/resource/SPF_rb.html +0 -101
  437. data/doc/files/lib/Dnsruby/resource/SRV_rb.html +0 -101
  438. data/doc/files/lib/Dnsruby/resource/TKEY_rb.html +0 -101
  439. data/doc/files/lib/Dnsruby/resource/TSIG_rb.html +0 -114
  440. data/doc/files/lib/Dnsruby/resource/TXT_rb.html +0 -108
  441. data/doc/files/lib/Dnsruby/resource/X25_rb.html +0 -101
  442. data/doc/files/lib/Dnsruby/resource/domain_name_rb.html +0 -101
  443. data/doc/files/lib/Dnsruby/resource/generic_rb.html +0 -131
  444. data/doc/files/lib/Dnsruby/resource/resource_rb.html +0 -110
  445. data/doc/files/lib/Dnsruby/select_thread_rb.html +0 -111
  446. data/doc/files/lib/Dnsruby/update_rb.html +0 -101
  447. data/doc/files/lib/Dnsruby/zone_transfer_rb.html +0 -101
  448. data/doc/files/lib/dnsruby_rb.html +0 -118
  449. data/doc/fr_class_index.html +0 -108
  450. data/doc/fr_file_index.html +0 -75
  451. data/doc/fr_method_index.html +0 -321
  452. data/doc/index.html +0 -24
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>add_pair (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 65</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CodeMapper</span>.<span class="ruby-identifier">add_pair</span>(<span class="ruby-identifier">string</span>, <span class="ruby-identifier">code</span>)
15
- <span class="ruby-ivar">@@strings</span>[<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">store</span>(<span class="ruby-identifier">string</span>, <span class="ruby-identifier">code</span>)
16
- <span class="ruby-ivar">@@values</span>[<span class="ruby-keyword kw">self</span>]=<span class="ruby-ivar">@@strings</span>[<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">invert</span>
17
- <span class="ruby-ivar">@@stringsdown</span>[<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">store</span>(<span class="ruby-identifier">string</span>.<span class="ruby-identifier">downcase</span>, <span class="ruby-identifier">code</span>)
18
- <span class="ruby-ivar">@@maxcode</span>[<span class="ruby-keyword kw">self</span>]<span class="ruby-operator">+=</span><span class="ruby-value">1</span>
19
- <span class="ruby-keyword kw">end</span></pre>
20
- </body>
21
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>set_code (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 103</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_code</span>(<span class="ruby-identifier">arg</span>)
15
- <span class="ruby-ivar">@code</span> = <span class="ruby-identifier">arg</span>
16
- <span class="ruby-ivar">@string</span> = <span class="ruby-ivar">@@values</span>[<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>][<span class="ruby-ivar">@code</span>]
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>set_string (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 108</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_string</span>(<span class="ruby-identifier">arg</span>)
15
- <span class="ruby-ivar">@code</span> = <span class="ruby-ivar">@@stringsdown</span>[<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>][<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">downcase</span>]
16
- <span class="ruby-ivar">@string</span> = <span class="ruby-ivar">@@strings</span>[<span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">class</span>].<span class="ruby-identifier">invert</span>[<span class="ruby-ivar">@code</span>]
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>inspect (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 113</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">inspect</span>
15
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@string</span>
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>to_string (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 117</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CodeMapper</span>.<span class="ruby-identifier">to_string</span>(<span class="ruby-identifier">arg</span>)
15
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">kind_of?</span><span class="ruby-constant">String</span>)
16
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">arg</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@values</span>[<span class="ruby-keyword kw">self</span>][<span class="ruby-identifier">arg</span>]
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>to_code (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 125</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-constant">CodeMapper</span>.<span class="ruby-identifier">to_code</span>(<span class="ruby-identifier">arg</span>)
15
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">kind_of?</span><span class="ruby-constant">Fixnum</span>)
16
- <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">arg</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@stringsdown</span>[<span class="ruby-keyword kw">self</span>][<span class="ruby-identifier">arg</span>.<span class="ruby-identifier">downcase</span>]
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,22 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>&lt;=&gt; (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 133</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">&lt;=&gt;</span>(<span class="ruby-identifier">other</span>)
15
- <span class="ruby-keyword kw">if</span> (<span class="ruby-identifier">other</span>.<span class="ruby-identifier">class</span> <span class="ruby-operator">==</span> <span class="ruby-constant">Fixnum</span>)
16
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>
17
- <span class="ruby-keyword kw">else</span>
18
- <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">code</span>
19
- <span class="ruby-keyword kw">end</span>
20
- <span class="ruby-keyword kw">end</span></pre>
21
- </body>
22
- </html>
@@ -1,31 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>== (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 141</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-operator">==</span>(<span class="ruby-identifier">other</span>)
15
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">kind_of?</span><span class="ruby-constant">CodeMapper</span>
16
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">string</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@string</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">code</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@code</span>
17
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
18
- <span class="ruby-keyword kw">end</span>
19
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">kind_of?</span><span class="ruby-constant">String</span>
20
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@string</span>
21
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
22
- <span class="ruby-keyword kw">end</span>
23
- <span class="ruby-keyword kw">elsif</span> <span class="ruby-identifier">other</span>.<span class="ruby-identifier">kind_of?</span><span class="ruby-constant">Fixnum</span>
24
- <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">other</span> <span class="ruby-operator">==</span> <span class="ruby-ivar">@code</span>
25
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
26
- <span class="ruby-keyword kw">end</span>
27
- <span class="ruby-keyword kw">end</span>
28
- <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
29
- <span class="ruby-keyword kw">end</span></pre>
30
- </body>
31
- </html>
@@ -1,19 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>regexp (Dnsruby::CodeMapper)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/code_mapper.rb, line 159</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">regexp</span>
15
- <span class="ruby-comment cmt"># Longest ones go first, so the regex engine will match AAAA before A, etc.</span>
16
- <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@strings</span>[<span class="ruby-keyword kw">self</span>].<span class="ruby-identifier">keys</span>.<span class="ruby-identifier">sort</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">a</span>, <span class="ruby-identifier">b</span><span class="ruby-operator">|</span> <span class="ruby-identifier">b</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&lt;=&gt;</span> <span class="ruby-identifier">a</span>.<span class="ruby-identifier">length</span> }.<span class="ruby-identifier">join</span>(<span class="ruby-value str">'|'</span>)
17
- <span class="ruby-keyword kw">end</span></pre>
18
- </body>
19
- </html>
@@ -1,413 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
- <head>
8
- <title>Class: Dnsruby::Config</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
- <script type="text/javascript">
13
- // <![CDATA[
14
-
15
- function popupCode( url ) {
16
- window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
- }
18
-
19
- function toggleCode( id ) {
20
- if ( document.getElementById )
21
- elem = document.getElementById( id );
22
- else if ( document.all )
23
- elem = eval( "document.all." + id );
24
- else
25
- return false;
26
-
27
- elemStyle = elem.style;
28
-
29
- if ( elemStyle.display != "block" ) {
30
- elemStyle.display = "block"
31
- } else {
32
- elemStyle.display = "none"
33
- }
34
-
35
- return true;
36
- }
37
-
38
- // Make codeblocks hidden by default
39
- document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
-
41
- // ]]>
42
- </script>
43
-
44
- </head>
45
- <body>
46
-
47
-
48
-
49
- <div id="classHeader">
50
- <table class="header-table">
51
- <tr class="top-aligned-row">
52
- <td><strong>Class</strong></td>
53
- <td class="class-name-in-header">Dnsruby::Config</td>
54
- </tr>
55
- <tr class="top-aligned-row">
56
- <td><strong>In:</strong></td>
57
- <td>
58
- <a href="../../files/lib/Dnsruby/Config_rb.html">
59
- lib/Dnsruby/Config.rb
60
- </a>
61
- <br />
62
- </td>
63
- </tr>
64
-
65
- <tr class="top-aligned-row">
66
- <td><strong>Parent:</strong></td>
67
- <td>
68
- Object
69
- </td>
70
- </tr>
71
- </table>
72
- </div>
73
- <!-- banner header -->
74
-
75
- <div id="bodyContent">
76
-
77
-
78
-
79
- <div id="contextContent">
80
-
81
- <div id="description">
82
- <h2>Description</h2>
83
- <pre>
84
- The Config class determines the system configuration for DNS.
85
- In particular, it determines the nameserver to target queries to.
86
-
87
- It also specifies whether and how the search list and default
88
- domain should be applied to queries, according to the following
89
- algorithm :
90
- </pre>
91
- <ul>
92
- <li>If the name is absolute, then it is used as is.
93
-
94
- </li>
95
- <li>If the name is not absolute, then :
96
-
97
- <pre>
98
- If apply_domain is true, and ndots is greater than the number
99
- of labels in the name, then the default domain is added to the name.
100
-
101
- If apply_search_list is true, then each member of the search list
102
- is appended to the name.
103
- </pre>
104
- </li>
105
- </ul>
106
-
107
- </div>
108
-
109
-
110
- </div>
111
-
112
- <div id="method-list">
113
- <h3 class="section-bar">Methods</h3>
114
-
115
- <div class="name-list">
116
- <a href="#M000154">add_nameserver</a>&nbsp;&nbsp;
117
- <a href="#M000158">domain</a>&nbsp;&nbsp;
118
- <a href="#M000151">domain=</a>&nbsp;&nbsp;
119
- <a href="#M000155">nameserver=</a>&nbsp;&nbsp;
120
- <a href="#M000152">ndots=</a>&nbsp;&nbsp;
121
- <a href="#M000149">new</a>&nbsp;&nbsp;
122
- <a href="#M000150">reset</a>&nbsp;&nbsp;
123
- <a href="#M000157">search</a>&nbsp;&nbsp;
124
- <a href="#M000153">search=</a>&nbsp;&nbsp;
125
- <a href="#M000148">set_config_info</a>&nbsp;&nbsp;
126
- <a href="#M000156">to_s</a>&nbsp;&nbsp;
127
- </div>
128
- </div>
129
-
130
- </div>
131
-
132
-
133
- <!-- if includes -->
134
-
135
- <div id="section">
136
-
137
-
138
-
139
-
140
-
141
- <div id="attribute-list">
142
- <h3 class="section-bar">Attributes</h3>
143
-
144
- <div class="name-list">
145
- <table>
146
- <tr class="top-aligned-row context-row">
147
- <td class="context-item-name">apply_domain</td>
148
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
149
- <td class="context-item-desc">
150
- Should the default <a href="Config.html#M000158">domain</a> be applied?
151
-
152
- </td>
153
- </tr>
154
- <tr class="top-aligned-row context-row">
155
- <td class="context-item-name">apply_search_list</td>
156
- <td class="context-item-value">&nbsp;[RW]&nbsp;</td>
157
- <td class="context-item-desc">
158
- Should the <a href="Config.html#M000157">search</a> list be applied?
159
-
160
- </td>
161
- </tr>
162
- <tr class="top-aligned-row context-row">
163
- <td class="context-item-name">nameserver</td>
164
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
165
- <td class="context-item-desc">
166
- The list of nameservers to query
167
-
168
- </td>
169
- </tr>
170
- <tr class="top-aligned-row context-row">
171
- <td class="context-item-name">ndots</td>
172
- <td class="context-item-value">&nbsp;[R]&nbsp;</td>
173
- <td class="context-item-desc">
174
- The minimum number of labels in the query name (if it is not absolute)
175
- before it is considered complete
176
-
177
- </td>
178
- </tr>
179
- </table>
180
- </div>
181
- </div>
182
-
183
-
184
-
185
- <!-- if method_list -->
186
- <div id="methods">
187
- <h3 class="section-bar">Public Class methods</h3>
188
-
189
- <div id="method-M000149" class="method-detail">
190
- <a name="M000149"></a>
191
-
192
- <div class="method-heading">
193
- <a href="Config.src/M000149.html" target="Code" class="method-signature"
194
- onclick="popupCode('Config.src/M000149.html');return false;">
195
- <span class="method-name">new</span><span class="method-args">()</span>
196
- </a>
197
- </div>
198
-
199
- <div class="method-description">
200
- <p>
201
- Create a <a href="Config.html#M000149">new</a> <a
202
- href="Config.html">Config</a> with system default values
203
- </p>
204
- </div>
205
- </div>
206
-
207
- <div id="method-M000150" class="method-detail">
208
- <a name="M000150"></a>
209
-
210
- <div class="method-heading">
211
- <a href="Config.src/M000150.html" target="Code" class="method-signature"
212
- onclick="popupCode('Config.src/M000150.html');return false;">
213
- <span class="method-name">reset</span><span class="method-args">()</span>
214
- </a>
215
- </div>
216
-
217
- <div class="method-description">
218
- <p>
219
- Reset the config to default values
220
- </p>
221
- </div>
222
- </div>
223
-
224
- <h3 class="section-bar">Public Instance methods</h3>
225
-
226
- <div id="method-M000154" class="method-detail">
227
- <a name="M000154"></a>
228
-
229
- <div class="method-heading">
230
- <a href="Config.src/M000154.html" target="Code" class="method-signature"
231
- onclick="popupCode('Config.src/M000154.html');return false;">
232
- <span class="method-name">add_nameserver</span><span class="method-args">(ns)</span>
233
- </a>
234
- </div>
235
-
236
- <div class="method-description">
237
- <p>
238
- Add a nameserver to the list of nameservers.
239
- </p>
240
- <p>
241
- Can take either a single String or an array of Strings. The <a
242
- href="Config.html#M000149">new</a> nameservers are added at a higher
243
- priority.
244
- </p>
245
- </div>
246
- </div>
247
-
248
- <div id="method-M000158" class="method-detail">
249
- <a name="M000158"></a>
250
-
251
- <div class="method-heading">
252
- <a href="Config.src/M000158.html" target="Code" class="method-signature"
253
- onclick="popupCode('Config.src/M000158.html');return false;">
254
- <span class="method-name">domain</span><span class="method-args">()</span>
255
- </a>
256
- </div>
257
-
258
- <div class="method-description">
259
- <p>
260
- Return the default <a href="Config.html#M000158">domain</a>
261
- </p>
262
- </div>
263
- </div>
264
-
265
- <div id="method-M000151" class="method-detail">
266
- <a name="M000151"></a>
267
-
268
- <div class="method-heading">
269
- <a href="Config.src/M000151.html" target="Code" class="method-signature"
270
- onclick="popupCode('Config.src/M000151.html');return false;">
271
- <span class="method-name">domain=</span><span class="method-args">(dom)</span>
272
- </a>
273
- </div>
274
-
275
- <div class="method-description">
276
- <p>
277
- Set the default <a href="Config.html#M000158">domain</a>
278
- </p>
279
- </div>
280
- </div>
281
-
282
- <div id="method-M000155" class="method-detail">
283
- <a name="M000155"></a>
284
-
285
- <div class="method-heading">
286
- <a href="Config.src/M000155.html" target="Code" class="method-signature"
287
- onclick="popupCode('Config.src/M000155.html');return false;">
288
- <span class="method-name">nameserver=</span><span class="method-args">(ns)</span>
289
- </a>
290
- </div>
291
-
292
- <div class="method-description">
293
- <p>
294
- Set the config to point to a single nameserver
295
- </p>
296
- </div>
297
- </div>
298
-
299
- <div id="method-M000152" class="method-detail">
300
- <a name="M000152"></a>
301
-
302
- <div class="method-heading">
303
- <a href="Config.src/M000152.html" target="Code" class="method-signature"
304
- onclick="popupCode('Config.src/M000152.html');return false;">
305
- <span class="method-name">ndots=</span><span class="method-args">(nd)</span>
306
- </a>
307
- </div>
308
-
309
- <div class="method-description">
310
- <p>
311
- Set ndots
312
- </p>
313
- </div>
314
- </div>
315
-
316
- <div id="method-M000157" class="method-detail">
317
- <a name="M000157"></a>
318
-
319
- <div class="method-heading">
320
- <a href="Config.src/M000157.html" target="Code" class="method-signature"
321
- onclick="popupCode('Config.src/M000157.html');return false;">
322
- <span class="method-name">search</span><span class="method-args">()</span>
323
- </a>
324
- </div>
325
-
326
- <div class="method-description">
327
- <p>
328
- Return the <a href="Config.html#M000157">search</a> path
329
- </p>
330
- </div>
331
- </div>
332
-
333
- <div id="method-M000153" class="method-detail">
334
- <a name="M000153"></a>
335
-
336
- <div class="method-heading">
337
- <a href="Config.src/M000153.html" target="Code" class="method-signature"
338
- onclick="popupCode('Config.src/M000153.html');return false;">
339
- <span class="method-name">search=</span><span class="method-args">(s)</span>
340
- </a>
341
- </div>
342
-
343
- <div class="method-description">
344
- <p>
345
- Set the default <a href="Config.html#M000157">search</a> path
346
- </p>
347
- </div>
348
- </div>
349
-
350
- <div id="method-M000148" class="method-detail">
351
- <a name="M000148"></a>
352
-
353
- <div class="method-heading">
354
- <a href="Config.src/M000148.html" target="Code" class="method-signature"
355
- onclick="popupCode('Config.src/M000148.html');return false;">
356
- <span class="method-name">set_config_info</span><span class="method-args">(config_info)</span>
357
- </a>
358
- </div>
359
-
360
- <div class="method-description">
361
- <p>
362
- Set the config. Parameter can be :
363
- </p>
364
- <ul>
365
- <li>A String containing the name of the config file to load
366
-
367
- <pre>
368
- e.g. /etc/resolv.conf
369
- </pre>
370
- </li>
371
- <li>A hash with the following elements :
372
-
373
- <pre>
374
- nameserver (String)
375
- domain (String)
376
- search (String)
377
- ndots (Fixnum)
378
- </pre>
379
- </li>
380
- </ul>
381
- <p>
382
- This method should not normally be called by client code.
383
- </p>
384
- </div>
385
- </div>
386
-
387
- <div id="method-M000156" class="method-detail">
388
- <a name="M000156"></a>
389
-
390
- <div class="method-heading">
391
- <a href="Config.src/M000156.html" target="Code" class="method-signature"
392
- onclick="popupCode('Config.src/M000156.html');return false;">
393
- <span class="method-name">to_s</span><span class="method-args">()</span>
394
- </a>
395
- </div>
396
-
397
- <div class="method-description">
398
- </div>
399
- </div>
400
-
401
-
402
- </div>
403
-
404
-
405
- </div>
406
-
407
-
408
- <div id="validator-badges">
409
- <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
410
- </div>
411
-
412
- </body>
413
- </html>
@@ -1,18 +0,0 @@
1
- <?xml version="1.0" encoding="iso-8859-1"?>
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
-
6
- <html>
7
- <head>
8
- <title>set_config_info (Dnsruby::Config)</title>
9
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
- <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
- </head>
12
- <body class="standalone-code">
13
- <pre><span class="ruby-comment cmt"># File lib/Dnsruby/Config.rb, line 65</span>
14
- <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">set_config_info</span>(<span class="ruby-identifier">config_info</span>)
15
- <span class="ruby-identifier">parse_config</span>(<span class="ruby-identifier">config_info</span>)
16
- <span class="ruby-keyword kw">end</span></pre>
17
- </body>
18
- </html>