U:RDoc::AnyMethod[iI"new:ETI"Resolv::DNS::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I" Creates a new DNS resolver.;To:RDoc::Markup::BlankLineo; ; [I"+config_info+ can be:;T@o:RDoc::Markup::List: @type: NOTE: @items[o:RDoc::Markup::ListItem: @label[I"nil;T; [o; ; [I"Uses /etc/resolv.conf.;To;;[I" String;T; [o; ; [I"4Path to a file using /etc/resolv.conf's format.;To;;[I" Hash;T; [o; ; [I"7Must contain :nameserver, :search and :ndots keys.;To; ; [I"O:nameserver_port can be used to specify port number of nameserver address.;T@o; ; [I"=The value of :nameserver should be an address string or ;TI"!an array of address strings.;To; ; : BULLET;[o;;0; [o; ; [I":nameserver => '8.8.8.8';To;;0; [o; ; [I"*:nameserver => ['8.8.8.8', '8.8.4.4'];T@o; ; [I"9The value of :nameserver_port should be an array of ;TI"0pair of nameserver address and port number.;To; ; ;;[o;;0; [o; ; [I";:nameserver_port => [['8.8.8.8', 53], ['8.8.4.4', 53]];T@o; ; [I" Example:;T@o:RDoc::Markup::Verbatim; [I"8Resolv::DNS.new(:nameserver => ['210.251.121.21'], ;TI"3 :search => ['ruby-lang.org'], ;TI"! :ndots => 1);T: @format0: @fileI"lib/resolv.rb;T:0@omit_headings_from_table_of_contents_below000[I"(config_info=nil);T@OFI"DNS;TcRDoc::NormalClass00