Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is DNS Server.
func New ¶
func New(instance instance, ln net.PacketConn, mappings storage.DomainMappingStorage) (*Server, error)
New returns a new HTTP API.
func (*Server) SendRouterAdvertisement ¶
SendRouterAdvertisement sends a router advertisement to the tun interface to configure DNS via RDNSS and DNSSL.
Click to show internal directories.
Click to hide internal directories.