Class FTW::DNS::Hash
In: lib/ftw/dns/hash.rb
lib/ftw/dns/hash.rb
Parent: Object

Provide resolution name -> address mappings through hash lookups

Methods

new   new   resolve   resolve  

Public Class methods

A new hash dns resolver.

@param [#[]] data Must be a hash-like thing responding to #[]

A new hash dns resolver.

@param [#[]] data Must be a hash-like thing responding to #[]

Public Instance methods

Resolve a hostname.

It will return an array of all known addresses for the host.

Resolve a hostname.

It will return an array of all known addresses for the host.

[Validate]