Ok. So I have Manual Inbound Firewall enabled.
If I add an Allow rule for udp/53 inbound, my MX also responds to dns queries on its WAN interface, from outside.
RHB@wopr ~ % dig @x.x.x.x google.dk A
; <<>> DiG 9.10.6 <<>> @x.x.x.x google.dk A
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52324
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;google.dk. IN A
;; ANSWER SECTION:
google.dk. 81 IN A 142.250.74.131
;; Query time: 159 msec
;; SERVER: x.x.x.x#53(x.x.x.x)
;; WHEN: Thu Dec 19 21:59:23 CET 2024
;; MSG SIZE rcvd: 54
RHB@wopr ~ %
From the LAN side, the MX does not respond on its LAN Interface IP, nor on its WAN IP.
So it seems to only be from the outside on its WAN interface.
If I remove said allow rule on the inbound rules, it goes back to not responding to DNS queries.
LinkedIn :::
https://blog.rhbirkelund.dk/Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution
🙂All code examples are provided as is. Responsibility for Code execution lies solely your own.