|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
DNS resolver with answer verification (DETWS_ENABLE_DNS_RESOLVER). More...
Go to the source code of this file.
DNS resolver with answer verification (DETWS_ENABLE_DNS_RESOLVER).
Resolves a hostname to an IPv4 address via lwIP (dns_gethostbyname, marshalled to tcpip_thread like the http_client), and classifies / verifies the answer: a remote name resolving to 0.0.0.0, the broadcast address, loopback, or a multicast address is rejected as a spoof / DNS-rebinding indicator. The classifier + verifier are pure and host-tested; the resolve is ESP32-only and blocking (call it off the request hot path).
Definition in file dns_resolver.h.