enum Resolv::DNS::Resource::Type

Defined in:

resolv.cr

Enum Members

A = 1
NS = 2
CNAME = 5
SOA = 6
PTR = 12
MX = 15
TXT = 16
AAAA = 28
SRV = 33
CAA = 257

Instance Method Summary

Instance Method Detail

def a? #

Returns true if this enum value equals A


[View source]
def aaaa? #

Returns true if this enum value equals AAAA


[View source]
def caa? #

Returns true if this enum value equals CAA


[View source]
def cname? #

Returns true if this enum value equals CNAME


[View source]
def mx? #

Returns true if this enum value equals MX


[View source]
def ns? #

Returns true if this enum value equals NS


[View source]
def ptr? #

Returns true if this enum value equals PTR


[View source]
def soa? #

Returns true if this enum value equals SOA


[View source]
def srv? #

Returns true if this enum value equals SRV


[View source]
def txt? #

Returns true if this enum value equals TXT


[View source]