|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Layer 3 (Network) - name resolution, both directions: asking and answering. More...
#include "protocore_config.h"Go to the source code of this file.
Layer 3 (Network) - name resolution, both directions: asking and answering.
RFC 1034 sec 2.4 names two of the DNS's three major components as programs: RESOLVERS, "programs that extract information from name servers in response to client requests", described in sec 5, and NAME SERVERS, "server programs which hold information about the domain tree's structure and set information", described in sec 4. This module holds one of each and nothing else.
Each component is reached through its own handle: ::Resolver and ::DnsServer. Behind DnsNs::internal they are pointers rather than values, because a table in one translation unit is not a constant expression in another, so a by-value member could not be initialized from here.
A component its feature flag leaves out is not a member at all, so dns.c names only what the image already contains.
Definition in file dns.h.