faildns 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/bin/failnamed +203 -0
  2. data/bin/failresolve +37 -0
  3. data/lib/faildns.rb +20 -0
  4. data/lib/faildns/class.rb +96 -0
  5. data/lib/faildns/client.rb +114 -0
  6. data/lib/faildns/common.rb +52 -0
  7. data/lib/faildns/domainname.rb +223 -0
  8. data/lib/faildns/header.rb +254 -0
  9. data/lib/faildns/header/opcode.rb +95 -0
  10. data/lib/faildns/header/status.rb +123 -0
  11. data/lib/faildns/header/type.rb +72 -0
  12. data/lib/faildns/ip.rb +57 -0
  13. data/lib/faildns/message.rb +100 -0
  14. data/lib/faildns/qclass.rb +51 -0
  15. data/lib/faildns/qtype.rb +60 -0
  16. data/lib/faildns/question.rb +101 -0
  17. data/lib/faildns/resourcerecord.rb +140 -0
  18. data/lib/faildns/resourcerecord/IN.rb +29 -0
  19. data/lib/faildns/resourcerecord/IN/A.rb +75 -0
  20. data/lib/faildns/resourcerecord/IN/AAAA.rb +77 -0
  21. data/lib/faildns/resourcerecord/IN/CNAME.rb +70 -0
  22. data/lib/faildns/resourcerecord/IN/HINFO.rb +79 -0
  23. data/lib/faildns/resourcerecord/IN/MX.rb +75 -0
  24. data/lib/faildns/resourcerecord/IN/NS.rb +77 -0
  25. data/lib/faildns/resourcerecord/IN/NULL.rb +66 -0
  26. data/lib/faildns/resourcerecord/IN/PTR.rb +69 -0
  27. data/lib/faildns/resourcerecord/IN/SOA.rb +128 -0
  28. data/lib/faildns/resourcerecord/IN/TXT.rb +63 -0
  29. data/lib/faildns/resourcerecord/data.rb +41 -0
  30. data/lib/faildns/server.rb +71 -0
  31. data/lib/faildns/server/dispatcher.rb +181 -0
  32. data/lib/faildns/server/dispatcher/connectiondispatcher.rb +93 -0
  33. data/lib/faildns/server/dispatcher/event.rb +47 -0
  34. data/lib/faildns/server/dispatcher/eventdispatcher.rb +73 -0
  35. data/lib/faildns/server/dispatcher/socket.rb +93 -0
  36. data/lib/faildns/type.rb +186 -0
  37. metadata +100 -0
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: faildns
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - meh.
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-10-17 00:00:00 +02:00
18
+ default_executable:
19
+ dependencies: []
20
+
21
+ description: A fail DNS library, Server and Client.
22
+ email: meh@paranoici.org
23
+ executables:
24
+ - failnamed
25
+ - failresolve
26
+ extensions: []
27
+
28
+ extra_rdoc_files: []
29
+
30
+ files:
31
+ - lib/faildns.rb
32
+ - lib/faildns/class.rb
33
+ - lib/faildns/domainname.rb
34
+ - lib/faildns/server/dispatcher.rb
35
+ - lib/faildns/server/dispatcher/event.rb
36
+ - lib/faildns/server/dispatcher/connectiondispatcher.rb
37
+ - lib/faildns/server/dispatcher/eventdispatcher.rb
38
+ - lib/faildns/server/dispatcher/socket.rb
39
+ - lib/faildns/ip.rb
40
+ - lib/faildns/question.rb
41
+ - lib/faildns/resourcerecord/data.rb
42
+ - lib/faildns/resourcerecord/IN.rb
43
+ - lib/faildns/resourcerecord/IN/SOA.rb
44
+ - lib/faildns/resourcerecord/IN/A.rb
45
+ - lib/faildns/resourcerecord/IN/NULL.rb
46
+ - lib/faildns/resourcerecord/IN/PTR.rb
47
+ - lib/faildns/resourcerecord/IN/NS.rb
48
+ - lib/faildns/resourcerecord/IN/MX.rb
49
+ - lib/faildns/resourcerecord/IN/HINFO.rb
50
+ - lib/faildns/resourcerecord/IN/AAAA.rb
51
+ - lib/faildns/resourcerecord/IN/TXT.rb
52
+ - lib/faildns/resourcerecord/IN/CNAME.rb
53
+ - lib/faildns/type.rb
54
+ - lib/faildns/message.rb
55
+ - lib/faildns/qclass.rb
56
+ - lib/faildns/common.rb
57
+ - lib/faildns/resourcerecord.rb
58
+ - lib/faildns/qtype.rb
59
+ - lib/faildns/server.rb
60
+ - lib/faildns/header/type.rb
61
+ - lib/faildns/header/status.rb
62
+ - lib/faildns/header/opcode.rb
63
+ - lib/faildns/client.rb
64
+ - lib/faildns/header.rb
65
+ - bin/failnamed
66
+ - bin/failresolve
67
+ has_rdoc: true
68
+ homepage: http://github.com/meh/faildns
69
+ licenses: []
70
+
71
+ post_install_message:
72
+ rdoc_options: []
73
+
74
+ require_paths:
75
+ - lib
76
+ required_ruby_version: !ruby/object:Gem::Requirement
77
+ none: false
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ segments:
82
+ - 0
83
+ version: "0"
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ none: false
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
91
+ version: "0"
92
+ requirements: []
93
+
94
+ rubyforge_project:
95
+ rubygems_version: 1.3.7
96
+ signing_key:
97
+ specification_version: 3
98
+ summary: A fail DNS library.
99
+ test_files: []
100
+