@@ -60,10 +60,12 @@ return @"AAAA"; case OFDNSRecordTypeSRV: return @"SRV"; case OFDNSRecordTypeAll: return @"all"; + case OFDNSRecordTypeURI: + return @"URI"; default: return [OFString stringWithFormat: @"%u", recordType]; } } @@ -117,10 +119,12 @@ recordType = OFDNSRecordTypeAAAA; else if ([string isEqual: @"SRV"]) recordType = OFDNSRecordTypeSRV; else if ([string isEqual: @"ALL"]) recordType = OFDNSRecordTypeAll; + else if ([string isEqual: @"URI"]) + recordType = OFDNSRecordTypeURI; else { recordType = (OFDNSRecordType)[string unsignedLongLongValueWithBase: 0]; }