View Source erldns_config (erldns v4.2.0)
Provide application-wide configuration access.
Summary
Functions
Get the IP address (either IPv4 or IPv6) that the DNS server should listen on.
Get the number of workers to run for handling DNS requests.
The the port that the DNS server should listen on.
Functions
-spec get_address(inet | inet6) -> inet:ip_address().
Get the IP address (either IPv4 or IPv6) that the DNS server should listen on.
IPv4 default: 127.0.0.1 IPv6 default: ::1
-spec get_num_workers() -> non_neg_integer().
Get the number of workers to run for handling DNS requests.
Default: 10
-spec get_port() -> inet:port_number().
The the port that the DNS server should listen on.
Default: 53
-spec ingress_tcp_request_timeout() -> non_neg_integer().
-spec ingress_udp_request_timeout() -> non_neg_integer().
-spec use_root_hints() -> boolean().