Class | Dnsruby::SingleResolver |
In: |
lib/Dnsruby/SingleResolver.rb
|
Parent: | Resolver |
This class has been deprecated. This implementation exists for legacy clients. New code should use the Dnsruby::Resolver class. The SingleResolver class targets a single resolver, and controls the sending of a single packet with a packet timeout. It performs no retries. Only two threads are used - the client thread and a select thread (which is reused across all queries).
These methods raise an exception or return a response message with rcode==NOERROR
These methods use a response queue to return the response and the error to the client. Support for EventMachine has been deprecated
packet_timeout | -> | query_timeout |
Can take a hash with the following optional keys :
Add the appropriate EDNS OPT RR for the specified packet. This is done automatically, unless you are using Resolver#send_plain_message