enum Resolv::DNS::RCode

Overview

DNS RCODEs

See http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6 for reference

Defined in:

resolv.cr

Enum Members

NoError = 0
FormErr = 1
ServFail = 2
NXDomain = 3
NotImp = 4
Refused = 5
YXDomain = 6
YXRRSet = 7
NXRRSet = 8
NotAuth = 9
NotZone = 10
DSOTYPENI = 11
BADVERS = 16
BADSIG = 16
BADKEY = 17
BADTIME = 18
BADMODE = 19
BADNAME = 20
BADALG = 21
BADTRUNC = 22
BADCOOKIE = 23

Instance Method Summary

Instance Method Detail

def badalg? #

Returns true if this enum value equals BADALG


[View source]
def badcookie? #

Returns true if this enum value equals BADCOOKIE


[View source]
def badkey? #

Returns true if this enum value equals BADKEY


[View source]
def badmode? #

Returns true if this enum value equals BADMODE


[View source]
def badname? #

Returns true if this enum value equals BADNAME


[View source]
def badsig? #

Returns true if this enum value equals BADSIG


[View source]
def badtime? #

Returns true if this enum value equals BADTIME


[View source]
def badtrunc? #

Returns true if this enum value equals BADTRUNC


[View source]
def badvers? #

Returns true if this enum value equals BADVERS


[View source]
def dsotypeni? #

Returns true if this enum value equals DSOTYPENI


[View source]
def form_err? #

Returns true if this enum value equals FormErr


[View source]
def no_error? #

Returns true if this enum value equals NoError


[View source]
def not_auth? #

Returns true if this enum value equals NotAuth


[View source]
def not_imp? #

Returns true if this enum value equals NotImp


[View source]
def not_zone? #

Returns true if this enum value equals NotZone


[View source]
def nx_domain? #

Returns true if this enum value equals NXDomain


[View source]
def nxrr_set? #

Returns true if this enum value equals NXRRSet


[View source]
def refused? #

Returns true if this enum value equals Refused


[View source]
def serv_fail? #

Returns true if this enum value equals ServFail


[View source]
def yx_domain? #

Returns true if this enum value equals YXDomain


[View source]
def yxrr_set? #

Returns true if this enum value equals YXRRSet


[View source]