class Dnsruby::SingleResolver

Dnsruby::SingleResolver

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).

Methods

Synchronous

These methods raise an exception or return a response message with rcode==NOERROR

Asynchronous

These methods use a response queue to return the response and the error to the client. Support for EventMachine has been deprecated