Mail on iOS: dual stack IP fails to use IPv4 when no IPv6 address is present

Originator:dennis
Number:rdar://39755457 Date Originated:2018-04-26
Status:Duplicate/9167855 Resolved:Open
Product:iOS Product Version:11.3
Classification:Serious Bug Reproducible:Always
 
After enabling IPv6 iOS mail clients fails to connect my mail server that only have a A record.  

Changing from dns name to IPv4 in mail account (incoming server name) does work (but has problems accepting the certificate due to "name" mismatch).

Steps to Reproduce:
- Enable IPv6 on my router so that the iOS has both IPv4 and IPv6. 
- Now try to connect to a mail server that only have an A record in DNS
- Open Mail and check for new mail

Expected Results:
Should connect to mail servers with IPv4 even if there are dual stack IP
It works on my macs

Actual Results:
Mail writes Account error: The mail server domain.com is not responding
Disabling IPv6 on the router and it works again

Version/Build:
iPhone iOS 11.3 (15E216) + iPad iOS 11.4 beta 2

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!