24OF_ASSUME_NONNULL_BEGIN
28@class OFArray OF_GENERIC(ObjectType);
92@property (readonly, nonatomic)
OFString *name;
97@property (readonly, nonatomic)
OFDNSClass DNSClass;
108@property (readonly, nonatomic) uint32_t TTL;
120- (instancetype)initWithName: (
OFString *)name
123 TTL: (uint32_t)TTL OF_DESIGNATED_INITIALIZER;
168#import "OFAAAADNSResourceRecord.h"
169#import "OFADNSResourceRecord.h"
170#import "OFCNAMEDNSResourceRecord.h"
171#import "OFHINFODNSResourceRecord.h"
172#import "OFLOCDNSResourceRecord.h"
173#import "OFMXDNSResourceRecord.h"
174#import "OFNSDNSResourceRecord.h"
175#import "OFPTRDNSResourceRecord.h"
176#import "OFRPDNSResourceRecord.h"
177#import "OFSOADNSResourceRecord.h"
178#import "OFSRVDNSResourceRecord.h"
179#import "OFTXTDNSResourceRecord.h"
180#import "OFURIDNSResourceRecord.h"
OFDNSRecordType
The type of a DNS resource record.
Definition OFDNSResourceRecord.h:44
@ OFDNSRecordTypeAll
Definition OFDNSResourceRecord.h:70
@ OFDNSRecordTypeTXT
Definition OFDNSResourceRecord.h:60
@ OFDNSRecordTypeLOC
Definition OFDNSResourceRecord.h:66
@ OFDNSRecordTypeSOA
Definition OFDNSResourceRecord.h:52
@ OFDNSRecordTypeCNAME
Definition OFDNSResourceRecord.h:50
@ OFDNSRecordTypePTR
Definition OFDNSResourceRecord.h:54
@ OFDNSRecordTypeA
Definition OFDNSResourceRecord.h:46
@ OFDNSRecordTypeRP
Definition OFDNSResourceRecord.h:62
@ OFDNSRecordTypeMX
Definition OFDNSResourceRecord.h:58
@ OFDNSRecordTypeAAAA
Definition OFDNSResourceRecord.h:64
@ OFDNSRecordTypeSRV
Definition OFDNSResourceRecord.h:68
@ OFDNSRecordTypeURI
Definition OFDNSResourceRecord.h:72
@ OFDNSRecordTypeHINFO
Definition OFDNSResourceRecord.h:56
@ OFDNSRecordTypeNS
Definition OFDNSResourceRecord.h:48
OFString * OFDNSClassName(OFDNSClass DNSClass)
Returns the name for the specified OFDNSClass.
Definition OFDNSResourceRecord.m:29
OFDNSClass OFDNSClassParseName(OFString *string)
Parses the specified string as an OFDNSClass.
Definition OFDNSResourceRecord.m:79
OFDNSRecordType OFDNSRecordTypeParseName(OFString *string)
Parses the specified string as an OFDNSRecordType.
Definition OFDNSResourceRecord.m:99
OFString * OFDNSRecordTypeName(OFDNSRecordType recordType)
Returns the name for the specified OFDNSRecordType.
Definition OFDNSResourceRecord.m:42
OFDNSClass
The DNS class.
Definition OFDNSResourceRecord.h:34
@ OFDNSClassAny
Definition OFDNSResourceRecord.h:38
@ OFDNSClassIN
Definition OFDNSResourceRecord.h:36
An abstract class for storing objects in an array.
Definition OFArray.h:109
A class representing a DNS resource record.
Definition OFDNSResourceRecord.h:82
A class for storing arbitrary data in an array.
Definition OFData.h:46
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A class for handling strings.
Definition OFString.h:143
A protocol for the creation of copies.
Definition OFObject.h:1350