Platforms to show: All Mac Windows Linux Cross-Platform
DNSServiceBaseMBS constants
Constants
Constant | Value | Description |
---|---|---|
kClassIN | 1 | The DNS class for Internet services. |
kErrorAlreadyRegistered | -65547 | One of the error constants. |
kErrorBadFlags | -65543 | One of the error constants. |
kErrorBadInterfaceIndex | -65552 | One of the error constants. |
kErrorBadParam | -65540 | One of the error constants. |
kErrorBadReference | -65541 | One of the error constants. |
kErrorBadState | -65542 | One of the error constants. |
kErrorBadTime | -65559 | One of the error constants. |
kErrorDoubleNAT | -65558 | One of the error constants. |
kErrorFirewall | -65550 | One of the error constants. |
kErrorIncompatible | -65551 | One of the error constants. |
kErrorInvalid | -65549 | One of the error constants. |
kErrorNameConflict | -65548 | One of the error constants. |
kErrorNATTraversal | -65557 | One of the error constants. |
kErrorNoAuth | -65555 | One of the error constants. |
kErrorNoError | 0 | One of the error constants. |
kErrorNoMemory | -65539 | One of the error constants. |
kErrorNoSuchKey | -65556 | One of the error constants. |
kErrorNoSuchName | -65538 | One of the error constants. |
kErrorNoSuchRecord | -65554 | One of the error constants. |
kErrorNotInitialized | -65545 | One of the error constants. |
kErrorRefused | -65553 | One of the error constants. |
kErrorUnknown | -65537 | One of the error constants. |
kErrorUnsupported | -65544 | One of the error constants. |
kFlagsAdd | 2 |
A flag for domain enumeration and browse/query events.
"Default" applies only to enumeration and is only valid in conjuction with "Add". An enumeration callback with the "Add" flag NOT set indicates a "Remove", i.e. the domain is no longer valid. |
kFlagsAllowRemoteQuery | &h200 | Flag for creating a record for which we will answer remote queries (queries from hosts more than one hop away; hosts not directly connected to the local link). |
kFlagsBrowseDomains | &h40 |
Flags for specifying domain enumeration type in DNSServiceEnumerateDomains.
BrowseDomains enumerates domains recommended for browsing, RegistrationDomains enumerates domains recommended for registration. |
kFlagsDefault | 4 |
A flag for domain enumeration and browse/query events.
"Default" applies only to enumeration and is only valid in conjuction with "Add". An enumeration callback with the "Add" flag NOT set indicates a "Remove", i.e. the domain is no longer valid. |
kFlagsForceMulticast | &h400 |
One of the flags.
Flag for signifying that a query or registration should be performed exclusively via multicast DNS, even for a name in a domain (e.g. foo.apple.com.) that would normally imply unicast DNS. |
kFlagsLongLivedQuery | &h100 | Flag for creating a long-lived unicast query for the QueryRecord call. |
kFlagsMoreComing | 1 |
One of the flags used for the events.
MoreComing indicates to a callback that at least one more result is queued and will be delivered following immediately after this one. Applications should not update their UI to display browse results when the MoreComing flag is set, because this would result in a great deal of ugly flickering on the screen. Applications should instead wait until until MoreComing is not set, and then update their UI. When MoreComing is not set, that doesn't mean there will be no more answers EVER, just that there are no more answers immediately available right now at this instant. If more answers become available in the future they will be delivered as usual. |
kFlagsNoAutoRename | 8 |
The flag for specifying renaming behavior on name conflict when registering non-shared records.
By default, name conflicts are automatically handled by renaming the service. NoAutoRename overrides this behavior - with this flag set, name conflicts will result in a callback. The NoAutorename flag is only valid if a name is explicitly specified when registering a service (i.e. the default name is not used.) |
kFlagsRegistrationDomains | &h80 |
Flags for specifying domain enumeration type in DNSServiceEnumerateDomains.
BrowseDomains enumerates domains recommended for browsing, RegistrationDomains enumerates domains recommended for registration. |
kFlagsShared | &h10 |
Flag for registering individual records on a connected DNSService.
Shared indicates that there may be multiple records with this name on the network (e.g. PTR records). Unique indicates that the record's name is to be unique on the network (e.g. SRV records). |
kFlagsUnique | &h20 |
Flag for registering individual records on a connected DNSService.
Shared indicates that there may be multiple records with this name on the network (e.g. PTR records). Unique indicates that the record's name is to be unique on the network (e.g. SRV records). |
kInterfaceIndexAny | 0 | The constant to use for interface index to target any interface. |
kInterfaceIndexLocalOnly | -1 | The constant to use for interface index to target the local interface. |
kMaxDomainName | 1005 | Maximum length, in bytes, of a domain name represented as an *escaped* C-String including the final trailing dot, and the C-String terminating NULL at the end. |
kMaxServiceName | 64 | Maximum length, in bytes, of a service name represented as a literal C-String, including the terminating NULL at the end. |
kTypeA | 1 |
One of the DNS Service type constants.
Host address. |
kTypeA6 | 38 |
One of the DNS Service type constants.
IPv6 address (deprecates AAAA) |
kTypeAAAA | 28 |
One of the DNS Service type constants.
Ip6 Address. |
kTypeAFSDB | 18 |
One of the DNS Service type constants.
AFS cell database. |
kTypeANY | 255 |
One of the DNS Service type constants.
Wildcard match. |
kTypeATMA | 34 |
One of the DNS Service type constants.
ATM Address |
kTypeAXFR | 252 |
One of the DNS Service type constants.
Transfer zone of authority. |
kTypeCERT | 37 |
One of the DNS Service type constants.
Certification record. |
kTypeCNAME | 5 |
One of the DNS Service type constants.
Canonical name. |
kTypeDNAME | 39 |
One of the DNS Service type constants.
Non-terminal DNAME (for IPv6) |
kTypeEID | 31 |
One of the DNS Service type constants.
Endpoint identifier. |
kTypeGPOS | 27 |
One of the DNS Service type constants.
Geographical position (withdrawn). |
kTypeHINFO | 13 |
One of the DNS Service type constants.
Host information. |
kTypeISDN | 20 |
One of the DNS Service type constants.
ISDN calling address. |
kTypeIXFR | 251 |
One of the DNS Service type constants.
Incremental zone transfer. |
kTypeKEY | 25 |
One of the DNS Service type constants.
Security key. |
kTypeKX | 36 |
One of the DNS Service type constants.
Key Exchange |
kTypeLOC | 29 |
One of the DNS Service type constants.
Location Information. |
kTypeMAILA | 254 |
One of the DNS Service type constants.
Transfer mail agent records. |
kTypeMAILB | 253 |
One of the DNS Service type constants.
Transfer mailbox records. |
kTypeMB | 7 |
One of the DNS Service type constants.
Mailbox domain name. |
kTypeMD | 3 |
One of the DNS Service type constants.
Mail destination. |
kTypeMF | 4 |
One of the DNS Service type constants.
Mail forwarder. |
kTypeMG | 8 |
One of the DNS Service type constants.
Mail group member. |
kTypeMINFO | 14 |
One of the DNS Service type constants.
Mailbox information. |
kTypeMR | 9 |
One of the DNS Service type constants.
Mail rename name. |
kTypeMX | 15 |
One of the DNS Service type constants.
Mail routing information. |
kTypeNAPTR | 35 |
One of the DNS Service type constants.
Naming Authority PoinTeR |
kTypeNIMLOC | 32 |
One of the DNS Service type constants.
Nimrod Locator. |
kTypeNS | 2 |
One of the DNS Service type constants.
Authoritative server. |
kTypeNSAP | 22 |
One of the DNS Service type constants.
NSAP address. |
kTypeNSAP_PTR | 23 |
One of the DNS Service type constants.
Reverse NSAP lookup (deprecated). |
kTypeNULL | 10 |
One of the DNS Service type constants.
Null resource record. |
kTypeNXT | 30 |
One of the DNS Service type constants.
Next domain (security). |
kTypeOPT | 41 |
One of the DNS Service type constants.
EDNS0 option (meta-RR) |
kTypePTR | 12 |
One of the DNS Service type constants.
Domain name pointer. |
kTypePX | 26 |
One of the DNS Service type constants.
X.400 mail mapping. |
kTypeRP | 17 |
One of the DNS Service type constants.
Responsible person. |
kTypeRT | 21 |
One of the DNS Service type constants.
Router. |
kTypeSIG | 24 |
One of the DNS Service type constants.
Security signature. |
kTypeSINK | 40 |
One of the DNS Service type constants.
Kitchen sink (experimentatl) |
kTypeSOA | 6 |
One of the DNS Service type constants.
Start of authority zone. |
kTypeSRV | 33 |
One of the DNS Service type constants.
Server Selection. |
kTypeTKEY | 249 |
One of the DNS Service type constants.
Transaction key. |
kTypeTSIG | 250 |
One of the DNS Service type constants.
Transaction signature. |
kTypeTXT | 16 |
One of the DNS Service type constants.
One or more text strings. |
kTypeWKS | 11 |
One of the DNS Service type constants.
Well known service. |
kTypeX25 | 19 |
One of the DNS Service type constants.
X-25 calling address. |