afaik
one container can go with
"531:53/tcp"
- "531:53/udp"
- "671:67/udp"
- "801:80/tcp"
second container
"532:53/tcp"
- "532:53/udp"
- "672:67/udp"
- "802:80/tcp"
nc -zv 192.168 xx 531
Connection to 192.168 xx 531 port [tcp/apertus-ldp] succeeded!
but
dig @192.168.xx -p 531 google.com
; <<>> DiG 9.16.18 <<>> @192.168.xx -p 531 google.com
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached
from the host machine
dig @0.0.0.0 -p 531 google.com
; <<>> DiG 9.11.5-P4-5.1+deb10u5-Debian <<>> @0.0.0.0 -p 531 google.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1576
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 145 IN A 142.250.185.14
;; Query time: 88 msec
;; SERVER: 127.0.0.1#531(0.0.0.0)
;; WHEN: Fri Aug 13 17:12:35 CEST 2021
;; MSG SIZE rcvd: 55
what i am doing wrong?