all repos — coredns @ 72b98f65768335afd27bbe798d1e0c80dbab8d83

custom build of coredns with the tailscale plugin

main.go (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
package main

import (
	"github.com/coredns/coredns/core/dnsserver"
	_ "github.com/coredns/coredns/core/plugin"
	"github.com/coredns/coredns/coremain"
	_ "github.com/damomurf/coredns-tailscale"
)

func main() {
	dnsserver.Directives = append(dnsserver.Directives, "tailscale")
	coremain.Run()
}