diff options
Diffstat (limited to 'coredns.go')
-rw-r--r-- | coredns.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/coredns.go b/coredns.go index e7e54dc60..ad8cd1c95 100644 --- a/coredns.go +++ b/coredns.go @@ -10,9 +10,15 @@ import ( //go:generate go run plugin_generate.go func main() { - // Set some flags/options specific for CoreDNS. + // Default values for flags for CoreDNS. flag.Set("type", "dns") + + // Values specific for CoreDNS. caddy.DefaultConfigFile = "Corefile" + caddy.AppName = "coredns" + caddy.AppVersion = version caddymain.Run() } + +const version = "001" |