all repos — coredns @ 5c626ac6e50fb9bfca543adba845ebb43bae91ac

custom build of coredns with the tailscale plugin

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}