main.go (view raw)
1package main
2
3import (
4 "github.com/coredns/coredns/core/dnsserver"
5 _ "github.com/coredns/coredns/core/plugin"
6 "github.com/coredns/coredns/coremain"
7 _ "github.com/damomurf/coredns-tailscale"
8)
9
10func main() {
11 dnsserver.Directives = append(dnsserver.Directives, "tailscale")
12 coremain.Run()
13}