Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /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