import "OFObject.h"
import "OFSocket.h"
import "OFString.h"
import "OFAAAADNSResourceRecord.h"
import "OFADNSResourceRecord.h"
import "OFCNAMEDNSResourceRecord.h"
import "OFHINFODNSResourceRecord.h"
import "OFLOCDNSResourceRecord.h"
import "OFMXDNSResourceRecord.h"
import "OFNSDNSResourceRecord.h"
import "OFPTRDNSResourceRecord.h"
import "OFRPDNSResourceRecord.h"
import "OFSOADNSResourceRecord.h"
import "OFSRVDNSResourceRecord.h"
import "OFTXTDNSResourceRecord.h"
import "OFURIDNSResourceRecord.h"
Go to the source code of this file.
|
enum | OFDNSClass { OFDNSClassIN = 1
, OFDNSClassAny = 255
} |
| The DNS class. More...
|
|
enum | OFDNSRecordType {
OFDNSRecordTypeA = 1
, OFDNSRecordTypeNS = 2
, OFDNSRecordTypeCNAME = 5
, OFDNSRecordTypeSOA = 6
,
OFDNSRecordTypePTR = 12
, OFDNSRecordTypeHINFO = 13
, OFDNSRecordTypeMX = 15
, OFDNSRecordTypeTXT = 16
,
OFDNSRecordTypeRP = 17
, OFDNSRecordTypeAAAA = 28
, OFDNSRecordTypeLOC = 29
, OFDNSRecordTypeSRV = 33
,
OFDNSRecordTypeAll = 255
, OFDNSRecordTypeURI = 256
} |
| The type of a DNS resource record. More...
|
|
◆ OFDNSClass
The DNS class.
Enumerator |
---|
OFDNSClassIN | IN
|
OFDNSClassAny | Any class. Only for queries.
|
◆ OFDNSRecordType
The type of a DNS resource record.
Enumerator |
---|
OFDNSRecordTypeA | A
|
OFDNSRecordTypeNS | NS
|
OFDNSRecordTypeCNAME | CNAME
|
OFDNSRecordTypeSOA | SOA
|
OFDNSRecordTypePTR | PTR
|
OFDNSRecordTypeHINFO | HINFO
|
OFDNSRecordTypeMX | MX
|
OFDNSRecordTypeTXT | TXT
|
OFDNSRecordTypeRP | RP
|
OFDNSRecordTypeAAAA | AAAA
|
OFDNSRecordTypeLOC | LOC
|
OFDNSRecordTypeSRV | SRV
|
OFDNSRecordTypeAll | All types. Only for queries.
|
OFDNSRecordTypeURI | URI
|
◆ OFDNSClassName()
Returns the name for the specified OFDNSClass.
- Parameters
-
DNSClass | The OFDNSClass to return the name for |
- Returns
- The name for the specified OFDNSClass
◆ OFDNSClassParseName()
Parses the specified string as an OFDNSClass.
- Parameters
-
- Returns
- The parsed OFDNSClass
- Exceptions
-
◆ OFDNSRecordTypeName()
Returns the name for the specified OFDNSRecordType.
- Parameters
-
recordType | The OFDNSRecordType to return the name for |
- Returns
- The name for the specified OFDNSRecordType
◆ OFDNSRecordTypeParseName()
Parses the specified string as an OFDNSRecordType.
- Parameters
-
- Returns
- The parsed OFDNSRecordType
- Exceptions
-