X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/Resolv
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Resolv
/
ðŸ“
..
ðŸ“
DNS
ðŸ“
Hosts
ðŸ“
IPv4
ðŸ“
IPv6
ðŸ“
ResolvError
ðŸ“
ResolvTimeout
📄
cdesc-Resolv.yaml
(2.36 KB)
📄
each_address-c.yaml
(276 B)
📄
each_address-i.yaml
(285 B)
📄
each_name-c.yaml
(272 B)
📄
each_name-i.yaml
(292 B)
📄
getaddress-c.yaml
(263 B)
📄
getaddress-i.yaml
(263 B)
📄
getaddresses-c.yaml
(261 B)
📄
getaddresses-i.yaml
(261 B)
📄
getname-c.yaml
(254 B)
📄
getname-i.yaml
(254 B)
📄
getnames-c.yaml
(258 B)
📄
getnames-i.yaml
(258 B)
📄
new-c.yaml
(273 B)
Editing: cdesc-Resolv.yaml
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Resolv is a thread-aware DNS resolver library written in Ruby. Resolv can handle multiple DNS requests concurrently without blocking. The ruby interpreter. - !ruby/struct:SM::Flow::P body: "See also resolv-replace.rb to replace the libc resolver with # Resolv." - !ruby/struct:SM::Flow::P body: Resolv can look up various DNS resources using the DNS module directly. - !ruby/struct:SM::Flow::P body: "Examples:" - !ruby/struct:SM::Flow::VERB body: " p Resolv.getaddress "www.ruby-lang.org"\n p Resolv.getname "210.251.121.214"\n\n Resolv::DNS.open do |dns|\n ress = dns.getresources "www.ruby-lang.org", Resolv::DNS::Resource::IN::A\n p ress.map { |r| r.address }\n ress = dns.getresources "ruby-lang.org", Resolv::DNS::Resource::IN::MX\n p ress.map { |r| [r.exchange.to_s, r.preference] }\n end\n" - !ruby/struct:SM::Flow::H level: 2 text: Bugs - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "*" body: NIS is not supported. - !ruby/struct:SM::Flow::LI label: "*" body: /etc/nsswitch.conf is not supported. type: :BULLET constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Default resolver to use for Resolv class methods. name: DefaultResolver value: self.new - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: Address Regexp to use for matching IP addresses. name: AddressRegex value: /(?:#{IPv4::Regex})|(?:#{IPv6::Regex})/ full_name: Resolv includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: each_address - !ruby/object:RI::MethodSummary name: each_name - !ruby/object:RI::MethodSummary name: getaddress - !ruby/object:RI::MethodSummary name: getaddresses - !ruby/object:RI::MethodSummary name: getname - !ruby/object:RI::MethodSummary name: getnames name: Resolv superclass: Object
Upload File
Create Folder