struct

NPMScan::Domain

Inherits Struct / Value / Object

Constants

RECORD_TYPES = [DNS::RecordType::A, DNS::RecordType::AAAA, DNS::RecordType::MX]

Constructors

new(name : String)
Source

Instance methods

==(other : Domain) : Bool
Source
name
Source
query_records(resolver : DNS::Resolver, record_type : DNS::RecordType)
Source
registered?(resolver : DNS::Resolver)
Source
to_s(io : IO)

Same as #inspect(io).

Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source