Server IP : 66.29.132.122 / Your IP : 18.220.140.32 Web Server : LiteSpeed System : Linux business142.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : admazpex ( 531) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/proc/thread-self/root/proc/self/root/proc/thread-self/root/proc/self/root/proc/self/root/opt/alt/ruby18/share/ri/1.8/system/Resolv/ |
Upload File : |
--- !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