pNet-DNS 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/README +68 -0
  2. data/lib/Net/DNS.rb +879 -0
  3. data/lib/Net/DNS/Header.rb +303 -0
  4. data/lib/Net/DNS/Nameserver.rb +601 -0
  5. data/lib/Net/DNS/Packet.rb +851 -0
  6. data/lib/Net/DNS/Question.rb +117 -0
  7. data/lib/Net/DNS/RR.rb +630 -0
  8. data/lib/Net/DNS/RR/A.rb +103 -0
  9. data/lib/Net/DNS/RR/AAAA.rb +147 -0
  10. data/lib/Net/DNS/RR/AFSDB.rb +114 -0
  11. data/lib/Net/DNS/RR/CERT.rb +191 -0
  12. data/lib/Net/DNS/RR/CNAME.rb +89 -0
  13. data/lib/Net/DNS/RR/DNAME.rb +84 -0
  14. data/lib/Net/DNS/RR/EID.rb +70 -0
  15. data/lib/Net/DNS/RR/HINFO.rb +108 -0
  16. data/lib/Net/DNS/RR/ISDN.rb +118 -0
  17. data/lib/Net/DNS/RR/LOC.rb +341 -0
  18. data/lib/Net/DNS/RR/MB.rb +92 -0
  19. data/lib/Net/DNS/RR/MG.rb +96 -0
  20. data/lib/Net/DNS/RR/MINFO.rb +109 -0
  21. data/lib/Net/DNS/RR/MR.rb +92 -0
  22. data/lib/Net/DNS/RR/MX.rb +124 -0
  23. data/lib/Net/DNS/RR/NAPTR.rb +182 -0
  24. data/lib/Net/DNS/RR/NIMLOC.rb +70 -0
  25. data/lib/Net/DNS/RR/NS.rb +100 -0
  26. data/lib/Net/DNS/RR/NSAP.rb +273 -0
  27. data/lib/Net/DNS/RR/NULL.rb +68 -0
  28. data/lib/Net/DNS/RR/OPT.rb +251 -0
  29. data/lib/Net/DNS/RR/PTR.rb +93 -0
  30. data/lib/Net/DNS/RR/PX.rb +131 -0
  31. data/lib/Net/DNS/RR/RP.rb +108 -0
  32. data/lib/Net/DNS/RR/RT.rb +115 -0
  33. data/lib/Net/DNS/RR/SOA.rb +195 -0
  34. data/lib/Net/DNS/RR/SPF.rb +46 -0
  35. data/lib/Net/DNS/RR/SRV.rb +153 -0
  36. data/lib/Net/DNS/RR/SSHFP.rb +190 -0
  37. data/lib/Net/DNS/RR/TKEY.rb +219 -0
  38. data/lib/Net/DNS/RR/TSIG.rb +358 -0
  39. data/lib/Net/DNS/RR/TXT.rb +162 -0
  40. data/lib/Net/DNS/RR/UNKNOWN.rb +76 -0
  41. data/lib/Net/DNS/RR/X25.rb +90 -0
  42. data/lib/Net/DNS/Resolver.rb +2090 -0
  43. data/lib/Net/DNS/Resolver/Recurse.rb +478 -0
  44. data/lib/Net/DNS/Update.rb +189 -0
  45. data/test/custom.txt +4 -0
  46. data/test/resolv.conf +4 -0
  47. data/test/tc_escapedchars.rb +498 -0
  48. data/test/tc_header.rb +91 -0
  49. data/test/tc_inet6.rb +169 -0
  50. data/test/tc_misc.rb +137 -0
  51. data/test/tc_online.rb +236 -0
  52. data/test/tc_packet.rb +174 -0
  53. data/test/tc_packet_unique_push.rb +126 -0
  54. data/test/tc_question.rb +49 -0
  55. data/test/tc_recurse.rb +69 -0
  56. data/test/tc_res_env.rb +59 -0
  57. data/test/tc_res_file.rb +55 -0
  58. data/test/tc_res_opt.rb +135 -0
  59. data/test/tc_resolver.rb +102 -0
  60. data/test/tc_rr-opt.rb +40 -0
  61. data/test/tc_rr-rrsort.rb +116 -0
  62. data/test/tc_rr-txt.rb +138 -0
  63. data/test/tc_rr-unknown.rb +95 -0
  64. data/test/tc_rr.rb +246 -0
  65. data/test/tc_tcp.rb +34 -0
  66. data/test/tc_tkey.rb +115 -0
  67. data/test/tc_update.rb +226 -0
  68. data/test/ts_netdns.rb +17 -0
  69. data/test/ts_offline.rb +32 -0
  70. data/test/ts_online.rb +33 -0
  71. metadata +119 -0
metadata ADDED
@@ -0,0 +1,119 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.9.0
3
+ specification_version: 1
4
+ name: pNet-DNS
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.0.1
7
+ date: 2006-10-28 00:00:00 +01:00
8
+ summary: Ruby port of perl Net::DNS
9
+ require_paths:
10
+ - lib/Net
11
+ email: alexd@nominet.org.uk
12
+ homepage: "@todo@"
13
+ rubyforge_project:
14
+ description:
15
+ autorequire: DNS
16
+ default_executable:
17
+ bindir: bin
18
+ has_rdoc: true
19
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
20
+ requirements:
21
+ - - ">"
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ platform: ruby
26
+ signing_key:
27
+ cert_chain:
28
+ post_install_message:
29
+ authors:
30
+ - AlexD
31
+ files:
32
+ - test/custom.txt
33
+ - test/resolv.conf
34
+ - test/tc_escapedchars.rb
35
+ - test/tc_header.rb
36
+ - test/tc_inet6.rb
37
+ - test/tc_misc.rb
38
+ - test/tc_online.rb
39
+ - test/tc_packet.rb
40
+ - test/tc_packet_unique_push.rb
41
+ - test/tc_question.rb
42
+ - test/tc_recurse.rb
43
+ - test/tc_resolver.rb
44
+ - test/tc_res_env.rb
45
+ - test/tc_res_file.rb
46
+ - test/tc_res_opt.rb
47
+ - test/tc_rr-opt.rb
48
+ - test/tc_rr-rrsort.rb
49
+ - test/tc_rr-txt.rb
50
+ - test/tc_rr-unknown.rb
51
+ - test/tc_rr.rb
52
+ - test/tc_tcp.rb
53
+ - test/tc_tkey.rb
54
+ - test/tc_update.rb
55
+ - test/ts_netdns.rb
56
+ - test/ts_offline.rb
57
+ - test/ts_online.rb
58
+ - lib/Net
59
+ - lib/Net/DNS
60
+ - lib/Net/DNS.rb
61
+ - lib/Net/DNS/Header.rb
62
+ - lib/Net/DNS/Nameserver.rb
63
+ - lib/Net/DNS/Packet.rb
64
+ - lib/Net/DNS/Question.rb
65
+ - lib/Net/DNS/Resolver
66
+ - lib/Net/DNS/Resolver.rb
67
+ - lib/Net/DNS/RR
68
+ - lib/Net/DNS/RR.rb
69
+ - lib/Net/DNS/Update.rb
70
+ - lib/Net/DNS/Resolver/Recurse.rb
71
+ - lib/Net/DNS/RR/A.rb
72
+ - lib/Net/DNS/RR/AAAA.rb
73
+ - lib/Net/DNS/RR/AFSDB.rb
74
+ - lib/Net/DNS/RR/CERT.rb
75
+ - lib/Net/DNS/RR/CNAME.rb
76
+ - lib/Net/DNS/RR/DNAME.rb
77
+ - lib/Net/DNS/RR/EID.rb
78
+ - lib/Net/DNS/RR/HINFO.rb
79
+ - lib/Net/DNS/RR/ISDN.rb
80
+ - lib/Net/DNS/RR/LOC.rb
81
+ - lib/Net/DNS/RR/MB.rb
82
+ - lib/Net/DNS/RR/MG.rb
83
+ - lib/Net/DNS/RR/MINFO.rb
84
+ - lib/Net/DNS/RR/MR.rb
85
+ - lib/Net/DNS/RR/MX.rb
86
+ - lib/Net/DNS/RR/NAPTR.rb
87
+ - lib/Net/DNS/RR/NIMLOC.rb
88
+ - lib/Net/DNS/RR/NS.rb
89
+ - lib/Net/DNS/RR/NSAP.rb
90
+ - lib/Net/DNS/RR/NULL.rb
91
+ - lib/Net/DNS/RR/OPT.rb
92
+ - lib/Net/DNS/RR/PTR.rb
93
+ - lib/Net/DNS/RR/PX.rb
94
+ - lib/Net/DNS/RR/RP.rb
95
+ - lib/Net/DNS/RR/RT.rb
96
+ - lib/Net/DNS/RR/SOA.rb
97
+ - lib/Net/DNS/RR/SPF.rb
98
+ - lib/Net/DNS/RR/SRV.rb
99
+ - lib/Net/DNS/RR/SSHFP.rb
100
+ - lib/Net/DNS/RR/TKEY.rb
101
+ - lib/Net/DNS/RR/TSIG.rb
102
+ - lib/Net/DNS/RR/TXT.rb
103
+ - lib/Net/DNS/RR/UNKNOWN.rb
104
+ - lib/Net/DNS/RR/X25.rb
105
+ - README
106
+ test_files:
107
+ - test/ts_offline.rb
108
+ rdoc_options: []
109
+
110
+ extra_rdoc_files:
111
+ - README
112
+ executables: []
113
+
114
+ extensions: []
115
+
116
+ requirements: []
117
+
118
+ dependencies: []
119
+