Server IP : 66.29.132.122 / Your IP : 18.117.94.172 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/DNS/ |
Upload File : |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Creates a new DNS resolver. - !ruby/struct:SM::Flow::P body: "<tt>config_info</tt> can be:" - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "nil:" body: Uses /etc/resolv.conf. - !ruby/struct:SM::Flow::LI label: "String:" body: Path to a file using /etc/resolv.conf's format. - !ruby/struct:SM::Flow::LI label: "Hash:" body: Must contain :nameserver, :search and :ndots keys. type: :NOTE - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " Resolv::DNS.new(:nameserver => ['210.251.121.21'],\n :search => ['ruby-lang.org'],\n :ndots => 1)\n" full_name: Resolv::DNS::new is_singleton: true name: new params: (config_info=nil) visibility: public