Hello, the same happened to me, only postfix container cant resolve outlook domains.
First I updated mailcow to latest release, didnt help..
Second I attached to postfix container and tried resolving the adress using 8.8.8.8, then it works, weird huh?
This is an example address, that couldnt be resolved: eurocash1-lv.mail.protection.outlook.com.
Heres an example, when using 127.0.0.1, it doenst work
root@dd5b7e9d003f:/# dig a eurocash1-lv.mail.protection.outlook.com @127.0.0.11
; <<>> DiG 9.11.5-P4-5.1+deb10u6-Debian <<>> a eurocash1-lv.mail.protection.outlook.com @127.0.0.11
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 30942
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;eurocash1-lv.mail.protection.outlook.com. IN A
;; Query time: 123 msec
;; SERVER: 127.0.0.11#53(127.0.0.11)
;; WHEN: Fri Feb 11 09:50:52 EET 2022
;; MSG SIZE rcvd: 69
Heres an example using 8.8.8.8:
root@dd5b7e9d003f:/# dig a eurocash1-lv.mail.protection.outlook.com @8.8.8.8
; <<>> DiG 9.11.5-P4-5.1+deb10u6-Debian <<>> a eurocash1-lv.mail.protection.outlook.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 33801
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;eurocash1-lv.mail.protection.outlook.com. IN A
;; ANSWER SECTION:
eurocash1-lv.mail.protection.outlook.com. 10 IN A 104.47.17.138
eurocash1-lv.mail.protection.outlook.com. 10 IN A 104.47.18.74
;; Query time: 81 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Fri Feb 11 09:52:28 EET 2022
;; MSG SIZE rcvd: 101
From unbound container, and others it works:
root@pasts:/opt/mailcow-dockerized# docker-compose exec unbound-mailcow nslookup eurocash1-lv.mail.protection.outlook.com
Server: 127.0.0.11
Address: 127.0.0.11:53
Non-authoritative answer:
Non-authoritative answer:
Name: eurocash1-lv.mail.protection.outlook.com
Address: 104.47.17.74
Name: eurocash1-lv.mail.protection.outlook.com
Address: 104.47.17.138