all repos — coredns @ cc61ce2951c3dba1443c27434bc734df70b354e3

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()
}