deployment/service with socat proxy that works around my internet provider's medling into dns traffic on port 53.
34 lines
701 B
YAML
34 lines
701 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: dns-update-proxy
|
|
namespace: cert-manager
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: dns-update-proxy
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: dns-update-proxy
|
|
spec:
|
|
containers:
|
|
- name: socat-tcp
|
|
image: alpine/socat
|
|
args:
|
|
- TCP-LISTEN:53,fork,reuseaddr
|
|
- TCP:87.236.195.209:5353
|
|
ports:
|
|
- containerPort: 53
|
|
protocol: TCP
|
|
- name: socat-udp
|
|
image: alpine/socat
|
|
args:
|
|
- -T5
|
|
- UDP-RECVFROM:53,fork,reuseaddr
|
|
- UDP:87.236.195.209:5353
|
|
ports:
|
|
- containerPort: 53
|
|
protocol: UDP
|