-
-
Notifications
You must be signed in to change notification settings - Fork 887
Docker 24.0.0 breaks DNSSEC for mailu 2.x #2827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
possible related to this: https://docs.docker.com/engine/release-notes/24.0/ |
Lots of people on my team ran into the same issue today. Reverting back to We default our
Probably need to create a ticket on docker's github issues. |
docker-compose.yml for resolver i had no dns configruation at first, then tried one IP, multiple IPs and in different order.
mailu.env
|
Please try and post the result of the following:
|
@nextgens thx, will try once I've setup a test environment latest on the weekend. |
Same error here. @nextgens would you be so kind and tell me where to execute these commands? |
Hi, I broke DNS resolution in Docker v24.0.0. Sorry about that. Docker v24.0.0's stub resolver returns SERVFAIL when it receives NXDOMAIN from all upstream DNS servers, which is likely the root cause of this breakage. See moby/moby#45565 for more info. On the other hand, the stub resolver for v24.0.0 does appear to forward NOERROR responses correctly, including all the DNSSEC records and flags. The / # dig +adflag example.org
DEBU[2023-05-18T14:44:10.438097754Z] Name To resolve: example.org.
DEBU[2023-05-18T14:44:10.438613784Z] [resolver] forwarding query client-addr="udp:172.19.0.2:49390" dns-server="udp:8.8.8.8:53" question=";example.org.\tIN\t A"
DEBU[2023-05-18T14:44:10.442205494Z] [resolver] received A record "93.184.216.34" for "example.org." from udp:8.8.8.8
; <<>> DiG 9.18.14 <<>> +adflag example.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20203
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;example.org. IN A
;; ANSWER SECTION:
example.org. 14472 IN A 93.184.216.34
;; Query time: 5 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Thu May 18 14:44:10 UTC 2023
;; MSG SIZE rcvd: 56
/ # dig +dnssec example.org
DEBU[2023-05-18T14:44:40.058760000Z] Name To resolve: example.org.
DEBU[2023-05-18T14:44:40.059066259Z] [resolver] forwarding query client-addr="udp:172.19.0.2:51447" dns-server="udp:8.8.8.8:53" question=";example.org.\tIN\t A"
DEBU[2023-05-18T14:44:40.062578772Z] [resolver] received A record "93.184.216.34" for "example.org." from udp:8.8.8.8
; <<>> DiG 9.18.14 <<>> +dnssec example.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61346
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 512
;; QUESTION SECTION:
;example.org. IN A
;; ANSWER SECTION:
example.org. 14442 IN A 93.184.216.34
example.org. 14442 IN RRSIG A 8 2 86400 20230527062335 20230505231353 65359 example.org. DBDTBVLaHBXzMJHTa7N9nv6/9/1Qw0MzC5EGz1jEXdET7cs9AxBIclNB S069CbzNc6A/96WsmQxlpMf39eE4ielphjPKIC5Coon59Flo/WwINz8J d6t57+ui2xSOXUs+OvYsWLQHC8reJvdl/rBld2T5PE9v25Zrq/ygyvFW fls=
example.org. 14442 IN RRSIG A 13 2 86400 20230527062335 20230505231353 48686 example.org. oLoKjLIBcjMYIzkJtisfwoNUJTS0Cd9+NHD+Ctqwutc3yXYGNs6amlME AExS5yLeZZ48h2cdyQ3mj/Lo1ho5ng==
;; Query time: 5 msec
;; SERVER: 127.0.0.11#53(127.0.0.11) (UDP)
;; WHEN: Thu May 18 14:44:40 UTC 2023
;; MSG SIZE rcvd: 334 |
Thank you for the explanation. Unfortunately there isn't much we can do on Mailu's side apart from documenting it: SERVFAIL is what we would expect from a validating resolver when there is a problem with DNSSEC. |
I may be completely wrong. I had to disable DNSSEC in postfix.conf to make it work. To make a long story short, the file |
@TerrapinSoftware downgrade docker for now from 24.0.0 to the latest 23.x. you don't have to change anything in mailu. |
Did not work for me unfortunately. |
if my commands did not work at all you might have a different release / OS and therefore a different package name. |
Uh-oh. I made a mistake - docker-ce was NOT downgraded (Ubuntu 22.04). Your suggested downgrade worked with docker 23.0.6. Thank you for the quick reply! |
We're planning to release Moby (Docker CE) 24.0.1 today, which will contain the fix for this issue. |
I've tested with the 24.0.1 release and its working fine, thanks a lot! |
Environment & Version
Environment
Version
2.0
Description
I upgraded today our mail server system to docker engine 24.0.0 and it broke DNSSEC with ubound resolver container
i checked if i can ping the resolver container from the other services e.g. admin and smtp which worked and resolved
i checked if i can ping anything outside e.g. google from these containers which worked too
i checked if i can do all of this from the resolver container it self too .. working fine also
i checked if the dns for all the different containers is set, and admin as well as smtp had the resolver IP entered
I tried to add DNS servers to the resolver container which did not make a difference
i also stopped the resolver process to see if it is even used, and i got a host lookup issue in the smtp with that, so i knew it is used.
Temporary solution
I ultimately downgraded docker engine to the latest 23 release where everything started to work again.
Replication Steps
upgrade docker engine to 24.0.0 on Debian via https://docs.docker.com/engine/install/debian/
Observed behaviour
DNSSEC lookup stops working.
Logs
The text was updated successfully, but these errors were encountered: