Add host port exposure for IP passthrough instead of overlay IP
This commit is contained in:
parent
76fe7241af
commit
d3e5f962fe
@ -18,6 +18,10 @@ server:
|
|||||||
cache-min-ttl: 60
|
cache-min-ttl: 60
|
||||||
cache-max-ttl: 960
|
cache-max-ttl: 960
|
||||||
harden-glue: yes
|
harden-glue: yes
|
||||||
|
remote-control:
|
||||||
|
control-enable: yes
|
||||||
|
control-use-cert: no
|
||||||
|
control-interface: 0.0.0.0
|
||||||
forward-zone:
|
forward-zone:
|
||||||
name: "."
|
name: "."
|
||||||
forward-tls-upstream: yes
|
forward-tls-upstream: yes
|
||||||
|
16
dns.yml
16
dns.yml
@ -7,6 +7,10 @@ x-logging: &json-log
|
|||||||
max-file: '5'
|
max-file: '5'
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
tig_monitoring:
|
||||||
|
external: true
|
||||||
|
#host:
|
||||||
|
# external: true
|
||||||
backend:
|
backend:
|
||||||
driver: overlay
|
driver: overlay
|
||||||
attachable: true
|
attachable: true
|
||||||
@ -29,7 +33,15 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- "/etc/hosts:/etc/hosts:ro"
|
- "/etc/hosts:/etc/hosts:ro"
|
||||||
ports:
|
ports:
|
||||||
- "53:5353/tcp"
|
- target: 5353
|
||||||
- "53:5353/udp" # Potentially vulnerable without any ratelimits, see https://www.us-cert.gov/ncas/alerts/TA14-017A
|
published: 53
|
||||||
|
protocol: tcp
|
||||||
|
mode: host
|
||||||
|
- target: 5353
|
||||||
|
published: 53
|
||||||
|
protocol: udp # Potentially vulnerable without any ratelimits, see https://www.us-cert.gov/ncas/alerts/TA14-017A
|
||||||
|
mode: host
|
||||||
networks:
|
networks:
|
||||||
|
#- host
|
||||||
- backend
|
- backend
|
||||||
|
- tig_monitoring
|
||||||
|
Reference in New Issue
Block a user