// ReSharper disable InconsistentNaming
namespace Swan.Net.Dns
{
///
/// Enumerates the different DNS record types.
///
public enum DnsRecordType
{
///
/// A records
///
A = 1,
///
/// Nameserver records
///
NS = 2,
///
/// CNAME records
///
CNAME = 5,
///
/// SOA records
///
SOA = 6,
///
/// WKS records
///
WKS = 11,
///
/// PTR records
///
PTR = 12,
///
/// MX records
///
MX = 15,
///
/// TXT records
///
TXT = 16,
///
/// A records fot IPv6
///
AAAA = 28,
///
/// SRV records
///
SRV = 33,
///
/// ANY records
///
ANY = 255,
}
///
/// Enumerates the different DNS record classes.
///
public enum DnsRecordClass
{
///
/// IN records
///
IN = 1,
///
/// ANY records
///
ANY = 255,
}
///
/// Enumerates the different DNS operation codes.
///
public enum DnsOperationCode
{
///
/// Query operation
///
Query = 0,
///
/// IQuery operation
///
IQuery,
///
/// Status operation
///
Status,
///
/// Notify operation
///
Notify = 4,
///
/// Update operation
///
Update,
}
///
/// Enumerates the different DNS query response codes.
///
public enum DnsResponseCode
{
///
/// No error
///
NoError = 0,
///
/// No error
///
FormatError,
///
/// Format error
///
ServerFailure,
///
/// Server failure error
///
NameError,
///
/// Name error
///
NotImplemented,
///
/// Not implemented error
///
Refused,
///
/// Refused error
///
YXDomain,
///
/// YXRR error
///
YXRRSet,
///
/// NXRR Set error
///
NXRRSet,
///
/// Not authorized error
///
NotAuth,
///
/// Not zone error
///
NotZone,
}
}