Skip to content

Commit 8dc4a45

Browse files
authored
Merge pull request #790 from cybozu-go/supress-dns-log
Supress DNS query logs
2 parents c87c837 + 45898ac commit 8dc4a45

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

bin/env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT=neco-test
2-
ZONE=asia-northeast2-c
2+
ZONE=asia-northeast1-c
33
SERVICE_ACCOUNT=neco-test@neco-test.iam.gserviceaccount.com
44
MACHINE_TYPE=c2-standard-30
55
DISK_TYPE=pd-ssd

op/clusterdns/clusterdns.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ var clusterDNSTemplate = template.Must(template.New("").Parse(`.:1053 {
1717
errors
1818
health
1919
ready
20-
log
20+
log . {combined} {
21+
class denial error
22+
}
2123
kubernetes {{ .Domain }} in-addr.arpa ip6.arpa {
2224
pods verified
2325
{{- if .Upstreams }}

op/nodedns/nodedns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server:
2828
logfile: ""
2929
use-syslog: no
3030
log-time-ascii: yes
31-
log-queries: yes
31+
log-queries: no
3232
log-replies: yes
3333
log-local-actions: yes
3434
log-servfail: yes

0 commit comments

Comments
 (0)