Home | History | Annotate | Download | only in mDNSCore

Lines Matching refs:DNS

18    If you're building an application that uses DNS Service Discovery
39 independent client processes communicate their DNS Service Discovery
126 #pragma mark - DNS Resource Record class and type constants
135 kDNSClass_NONE = 254, // Used in DNS UPDATE [RFC 2136]
137 kDNSClass_Mask = 0x7FFF,// Multicast DNS uses the bottom 15 bits to identify the record class...
140 kDNSQClass_ANY = 255, // Not a DNS class, but a DNS query class, meaning "all classes"
212 kDNSQType_ANY // Not a DNS type, but a DNS query type, meaning "all types"
379 // The longest legal textual form of a DNS name is 1009 bytes, including the C-string terminating NULL at the end.
382 // non-printing characters are represented in the conventional DNS way, as '\ddd', where ddd is a three-digit decimal number.
417 // Multicast DNS uses announcements (gratuitous responses) to update peer caches.
420 // With Unicast DNS, once an authoritative server gives a record with a certain TTL value to a client
423 // This means that whereas Multicast DNS can use announcements to pre-emptively update stale data
424 // before it would otherwise have expired, standard Unicast DNS (not using LLQs) has no equivalent
450 #pragma mark - DNS Message structures
469 // 40 (IPv6 header) + 8 (UDP header) + 12 (DNS message header) + 1440 (DNS message body) = 1500 total
475 mDNSu8 data[AbsoluteMaxDNSMessageData]; // 40 (IPv6) + 8 (UDP) + 12 (DNS header) + 8940 (data) = 9000
632 // -- Shared Resource Records are used for DNS-SD service PTRs
699 kDNSRecordTypePacketAdd = 0x80, // Received in the Additional Section of a DNS Response
700 kDNSRecordTypePacketAddUnique = 0x90, // Received in the Additional Section of a DNS Response with kDNSClass_UniqueRRSet set
701 kDNSRecordTypePacketAuth = 0xA0, // Received in the Authorities Section of a DNS Response
702 kDNSRecordTypePacketAuthUnique = 0xB0, // Received in the Authorities Section of a DNS Response with kDNSClass_UniqueRRSet set
703 kDNSRecordTypePacketAns = 0xC0, // Received in the Answer Section of a DNS Response
704 kDNSRecordTypePacketAnsUnique = 0xD0, // Received in the Answer Section of a DNS Response with kDNSClass_UniqueRRSet set
727 // EDNS Option Code registrations are recorded in the "DNS EDNS0 Options" section of
728 // <http://www.iana.org/assignments/dns-parameters>
792 // For now we only support NSEC records encoding DNS types 0-255 and ignore the nextname (we always set it to be the same as the rrname),
1066 mDNSInterfaceID interface; // For specialized uses; we can have DNS servers reachable over specific interfaces
1073 domainname domain; // name->server matching for "split dns"
1105 DNSServer *rDNSServer; // Unicast DNS server authoritative for this entry;null for multicast
1241 mDNSBool Private; // If zone is private, DNS updates may have to be encrypted to prevent eavesdropping
1275 // a dot-local hostname, and therefore it would make no sense to register this record with a wide-area Unicast DNS server.
1277 // to register them with a wide-area Unicast DNS server -- and we probably don't have the required credentials anyway.
1382 // A ServiceRecordSet has no special meaning to the core code of the Multicast DNS protocol engine;
1387 // * the basic PTR/SRV/TXT triplet used to represent any DNS-SD service
1522 DomainAuthInfo *AuthInfo; // Non-NULL if query is currently being done using Private DNS
1543 mDNSu16 triedAllServersOnce; // Tried all DNS servers once
1634 mDNSu16 ZoneClass; // Discovered result: DNS Class from SOA record
1749 // This is the user's DNS search list.
1877 DNSServer *DNSServers; // list of DNS servers
2109 // Call mDNS_StartQuery to initiate a query. mDNS will proceed to issue Multicast DNS query packets, and any time a response
2273 #pragma mark - DNS name utility functions
2276 // In order to expose the full capabilities of the DNS protocol (which allows any arbitrary eight-bit values
2278 // work with DNS's native length-prefixed strings. For convenience in C, the following utility functions
2279 // are provided for converting between C's null-terminated strings and DNS's length-prefixed strings.
2304 // Get total length of domain name, in native DNS format, including terminal root label
2311 // AppendDNSNameString adds zero or more labels from a C string using conventional DNS dots-and-escaping interpretation
2319 // Convert from null-terminated string to native DNS format:
2321 // The DomainName form makes native format domain name from a C string using conventional DNS interpretation:
2436 // Unicast DNS and Dynamic Update specific Client Calls
2464 // DNS servers used to resolve unicast queries are specified by mDNS_AddDNSServer.
2465 // For "split" DNS configurations, in which queries for different domains are sent to different servers (e.g. VPN and external),
2466 // a domain may be associated with a DNS server. For standard configurations, specify the root label (".") or NULL.
2486 // sign a DNS message. The message must be complete, with all values in network byte order. end points to the end
2502 // verify a DNS message. The message must be complete, with all values in network byte order. end points to the
2505 // of the DNS message header has already had one subtracted from it.
2526 // Note: mDNSPlatformMemAllocate/mDNSPlatformMemFree are only required for handling oversized resource records and unicast DNS.
2591 // and interface indexes in order to support the DNS-SD API. If your target platform does not support
2592 // multiple interfaces and/or does not support the DNS-SD API, these functions can be empty.
2596 // Every platform support module must provide the following functions if it is to support unicast DNS
2808 // DHCP, NAT, DNS, etc.), and the rest of the network can operate fine