Documentation
¶
Overview ¶
Package dns implements a DNS forwarder.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func (*Server) DyndnsHandler ¶
func (s *Server) DyndnsHandler(w http.ResponseWriter, r *http.Request)
func (*Server) PrometheusHandler ¶
func (*Server) SetAliases ¶
SetAliases replaces the alias table. Each entry maps a logical name (e.g. "mqtt") to a DHCP hostname (e.g. "dr") that is resolved through the regular DHCP-lease lookup at query time. A nil or empty map clears all aliases.
Click to show internal directories.
Click to hide internal directories.