vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/resolver.rb
#  Like query, but does not raise an error when an error occurs.
#  Instead, it returns it.
#  @return a 2 element array: [response, error]
Like query, but does not raise an error when an error occurs.
Instead, it returns it.
Like query but does not raise an error when an error occurs . Instead it returns it .
def query!(name, type=Types.A, klass=Classes.IN, set_cd=@dnssec)
      response = nil; error = nil
      begin
        response = query(name, type, klass, set_cd)
      rescue => e
        error = e
      end
      [response, error]
    end
def query! ( name , type = Types . A , klass = Classes . IN , set_cd = @dnssec ) response = nil ; error = nil begin response = query ( name , type , klass , set_cd ) rescue => e error = e end [ response , error ] end
Like query, but does not raise an error when an error occurs.
Like query but does not raise an error when an error occurs .
a 2 element array.
a 2 element array .
response, error
name
<not_specific>
type
<not_specific>
klass
<not_specific>
set_cd
<not_specific>