mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
default config: add log (#3269)
When there is no Corefile found we load the default. Add the log plugin to it, so you can see queries actually landing in CoreDNS. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -28,7 +28,7 @@ func init() {
|
||||
DefaultInput: func() caddy.Input {
|
||||
return caddy.CaddyfileInput{
|
||||
Filepath: "Corefile",
|
||||
Contents: []byte(".:" + Port + " {\nwhoami\n}\n"),
|
||||
Contents: []byte(".:" + Port + " {\nwhoami\nlog\n}\n"),
|
||||
ServerTypeName: serverType,
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user