Module: Ronin::Network::Mixins::DNS

Includes:
Mixin, DNS
Defined in:
lib/ronin/network/mixins/dns.rb

Overview

Adds DNS convenience methods and parameters to a class.

Defines the following parameters:

  • nameserver (String) - DNS nameserver to query.

Since:

  • 0.4.0

Instance Method Summary collapse

Methods included from Mixin

included

Methods included from DNS

#dns_lookup, #dns_lookup_all, #dns_reverse_lookup, #dns_reverse_lookup_all, nameserver, nameserver=

Instance Method Details

#dns_resolver(nameserver = self.nameserver) ⇒ Object (protected)

The DNS Resolver to use.

See Also:

Since:

  • 0.4.0


48
49
50
# File 'lib/ronin/network/mixins/dns.rb', line 48

def dns_resolver(nameserver=self.nameserver)
  super(nameserver)
end