On 15/2/2025 5:18 μ.μ., Viktor Dukhovni via Postfix-users wrote:
Have you tried adding "options edns0" to your resolv.conf? The "A" RRset for this name exceeds 512 bytes, and so, absent edns0 can only be returned via TCP, and some Linux versions had no TCP fallback support in the libc resolver.
Thank you Victor for the detailed analysis and the edns0 hint. I am pleased to report that the edns0 option worked. I did: nmcli connection modify "ens13" ipv4.dns-options "edns0" nmcli connection reload nmcli connection up ens13 and following that: [root@mailgw1 postfix-tools]# time ./getaddrinfo smtpfra7.fortimailcloud.com Hostname: smtpfra7.fortimailcloud.comAddresses: 154.52.2.235 154.52.2.230 154.52.2.236 154.52.2.142 154.52.2.149 154.52.2.237 154.52.2.248 154.52.2.228 154.52.2.241 154.52.2.146 154.52.2.144 154.52.2.155 154.52.2.147 154.52.2.150 154.52.2.225 154.52.2.154 154.52.2.232 154.52.2.227 154.52.2.240 154.52.2.148 154.52.2.234 154.52.2.156 154.52.2.143 154.52.2.151 154.52.2.244 154.52.2.238 154.52.2.247 154.52.2.251 154.52.2.250 154.52.2.152 154.52.2.229 154.52.2.153 154.52.2.231 154.52.2.145 154.52.2.141 154.52.2.157 154.52.2.224 154.52.2.233 154.52.2.242 154.52.2.246 154.52.2.158 154.52.2.245 154.52.2.243 154.52.2.249 154.52.2.226 154.52.2.239
real 0m0.433s user 0m0.002s sys 0m0.000sSo, case closed. I would think this option should have been enabled by default anyway?
A final question: Should we enable the same option for IPv6? (I'd guess yes, but please confirm.)
The Dilbert cartoon still applies, however, you may have workarounds other than switching from a laptop-oriented to a server-oriented OS.
Please give me a break! We have been using RHEL / CentOS / Rocky Linux for decades. Isn't THAT a server-oriented OS?!
I thought it is THE enterprise server OS! Most of organizations I know are indeed using RHEL / Rocky (since CentOS termination).
Cheers, Nick
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org