Documentation
¶
Index ¶
- type NewServerFunc
- type Server
- func (s *Server) OnHealthCheck(ctx context.Context, w dns.ResponseWriter, request *dns.Msg)
- func (s *Server) OnRequest(ctx context.Context, w dns.ResponseWriter, msg *dns.Msg)
- func (s *Server) Query(ctx context.Context, serverHost string, clientIP net.IP, question string, ...) (*model.Response, error)
- func (s *Server) Start(ctx context.Context, errCh chan<- error)
- func (s *Server) Stop(ctx context.Context) error
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 controls the endpoints for DNS and HTTP
func (*Server) OnHealthCheck ¶
OnHealthCheck Handler for docker health check. Just returns OK code without delegating to resolver chain
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
Package freebind provides a net.ListenConfig.Control hook that sets the Linux IP_FREEBIND (and IPV6_FREEBIND) socket option, allowing listeners to bind to IP addresses that are not yet assigned to a network interface.
|
Package freebind provides a net.ListenConfig.Control hook that sets the Linux IP_FREEBIND (and IPV6_FREEBIND) socket option, allowing listeners to bind to IP addresses that are not yet assigned to a network interface. |
Click to show internal directories.
Click to hide internal directories.