mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-17 22:37:45 -02:30
configure dnsmasq to listen on localhost only
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#Listen on all interfaces
|
#Listen on localhost
|
||||||
interface=*
|
bind-interfaces
|
||||||
|
listen-address=127.0.0.1
|
||||||
|
|
||||||
addn-hosts=/etc/hosts
|
addn-hosts=/etc/hosts
|
||||||
|
|
||||||
|
|||||||
@@ -29,11 +29,9 @@ spec:
|
|||||||
- name: dns
|
- name: dns
|
||||||
containerPort: 53
|
containerPort: 53
|
||||||
hostPort: 53
|
hostPort: 53
|
||||||
hostIP: 127.0.0.1
|
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
- name: dns-tcp
|
- name: dns-tcp
|
||||||
containerPort: 53
|
containerPort: 53
|
||||||
hostIP: 127.0.0.1
|
|
||||||
hostPort: 53
|
hostPort: 53
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
Reference in New Issue
Block a user