Files
netbird/client/internal/dns/service.go
2023-08-14 11:29:49 +02:00

19 lines
242 B
Go

package dns
import (
"github.com/miekg/dns"
)
const (
defaultPort = 53
)
type service interface {
Listen() error
Stop()
RegisterMux(domain string, handler dns.Handler)
DeregisterMux(key string)
ListenPort() int
ListenIp() string
}