struct NPMScan::Domain

Defined in:

npm_scan/domain.cr

Constant Summary

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

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def ==(other : Domain) : Bool #

[View source]
def name : String #

[View source]
def query_records(resolver : DNS::Resolver, record_type : DNS::RecordType) #

[View source]
def registered?(resolver : DNS::Resolver) #

[View source]
def to_s(io : IO) #
Description copied from struct Struct

Same as #inspect(io).


[View source]
def to_s : String #
Description copied from class Object

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.


[View source]