Firmware  0.6.0
Loading...
Searching...
No Matches
intf::dns Namespace Reference

Functions

esp_err_t init ()
 Initialize DNS.

Function Documentation

◆ init()

esp_err_t intf::dns::init ( )

Initialization takes place in init(). In access point mode it creates a DNS server and responds to all queries with the address of the softAP. This "funnelling" of DNS and traffic triggers the captive portal (sign in) to appear.

Warning
The DNS server will not redirect HTTPS requests.