The Domain Name System (DNS) is a hierarchical and distributed name service that provides a naming system for computers, services, and other resources on the Internet or other Internet Protocol (IP) networks. This module registers those services.
Initialization takes place in init(). It creates a DNS server and responds to all queries with the address of the softAP. This technique is often called DNS hijacking, DNS redirection, or DNS wildcard resolution.