Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogFieldAddress = "address" LogFieldURL = "url" MaxUpstreamConnsDefault = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Listener ¶
type Listener struct {
// contains filtered or unexported fields
}
Listener is an adapter between CoreDNS server and Warp runnable
func CreateListener ¶
func CreateListener(address string, port uint16, upstreams []string, bootstraps []string, maxUpstreamConnections int, log *zerolog.Logger) (*Listener, error)
CreateListener configures the server and bound sockets
type MetricsPlugin ¶
MetricsPlugin is an adapter for CoreDNS and built-in metrics
func NewMetricsPlugin ¶
func NewMetricsPlugin(next plugin.Handler) *MetricsPlugin
NewMetricsPlugin creates a plugin with configured metrics
func (MetricsPlugin) Name ¶
func (p MetricsPlugin) Name() string
Name implements the CoreDNS plugin interface
type ProxyPlugin ¶
ProxyPlugin is a simplified DNS proxy using a generic upstream interface
func (ProxyPlugin) Name ¶
func (p ProxyPlugin) Name() string
Name implements interface for CoreDNS plugin
type UpstreamHTTPS ¶
type UpstreamHTTPS struct {
// contains filtered or unexported fields
}
UpstreamHTTPS is the upstream implementation for DNS over HTTPS service
Click to show internal directories.
Click to hide internal directories.