File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : node-local-dns
3- version : 2.1.4
3+ version : 2.1.5
44appVersion : 1.23.1
55maintainers :
66 - name : gabrieladt
Original file line number Diff line number Diff line change 11# node-local-dns
22
3- ![ Version: 2.1.4 ] ( https://img.shields.io/badge/Version-2.1.4 -informational?style=flat-square ) ![ AppVersion: 1.23.1] ( https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square )
3+ ![ Version: 2.1.5 ] ( https://img.shields.io/badge/Version-2.1.5 -informational?style=flat-square ) ![ AppVersion: 1.23.1] ( https://img.shields.io/badge/AppVersion-1.23.1-informational?style=flat-square )
44
55A chart to install node-local-dns.
66
@@ -56,6 +56,7 @@ helm install my-release oci://ghcr.io/deliveryhero/helm-charts/node-local-dns -f
5656| config.dnsDomain | string | ` "cluster.local" ` | Internal k8s DNS domain |
5757| config.dnsServer | string | ` "172.20.0.10" ` | Main coredns service (kube-dns) ip, used on iptables-mode. |
5858| config.enableLogging | bool | ` false ` | Set boolean to log DNS requests |
59+ | config.disableNoErrorLogs | bool | ` false ` | Set boolean to disable NOERROR logs specifically (requires enableLogging to be true) |
5960| config.healthPort | int | ` 8080 ` | Port used for the health endpoint |
6061| config.localDns | string | ` "169.254.20.25" ` | |
6162| config.noIPv6Lookups | bool | ` false ` | If true, return NOERROR when attempting to resolve an IPv6 address |
Original file line number Diff line number Diff line change 1919 {{- else }}
2020 {{ .Values.config.dnsDomain }}:53 {
2121 {{- if .Values.config.enableLogging }}
22+ {{- if .Values.config.disableNoErrorLogs }}
23+ log . "{remote}:{port} - {>id} \"{type} {class} {name} {proto} {size} {>do} {>bufsize}\" {rcode} {>rflags} {rsize} {duration}" {
24+ class denial error
25+ }
26+ {{- else }}
2227 log
28+ {{- end }}
2329 {{- end }}
2430 errors
2531 {{- if .Values.config.cache.enabled }}
@@ -115,7 +121,13 @@ data:
115121 }
116122 .:53 {
117123 {{- if .Values.config.enableLogging}}
124+ {{- if .Values.config.disableNoErrorLogs }}
125+ log . "{remote}:{port} - {>id} \"{type} {class} {name} {proto} {size} {>do} {>bufsize}\" {rcode} {>rflags} {rsize} {duration}" {
126+ class denial error
127+ }
128+ {{- else }}
118129 log
130+ {{- end }}
119131 {{- end }}
120132 errors
121133 {{- if .Values.config.cache.enabled }}
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ config:
2525 # -- Set boolean to log DNS requests
2626 enableLogging : false
2727
28+ # -- Set boolean to disable NOERROR logs specifically (requires enableLogging to be true)
29+ disableNoErrorLogs : true
30+
2831 # -- If true, return NOERROR when attempting to resolve an IPv6 address
2932 noIPv6Lookups : false
3033
You can’t perform that action at this time.
0 commit comments