Add domain name resolution for IP fields
Is your feature request related to a problem? Please describe. Yes, DNS needs to be done manually by the user when connecting to SMB or FTP servers.
Describe the solution you'd like Allow for not connecting to an IP, but to domain directly.
Describe alternatives you've considered Manually checking the IP
Additional context I'm not quite sure how useful this would be, but it seems that it would help people connecting to cloud SMB services.
ping @TranceLove . I think you'd have comments on this.
As far as I can test, SSH and FTP can already contact server using their DNS name. I personally use my home server's DNS name all the time to access stuff.
For SMB, may try comment out jcifs.resolveOrder in CifsContexts to use default LMHOSTS,DNS,WINS,BCAST which would enable resolve by computer's NetBIOS name.
https://github.com/TeamAmaze/AmazeFileManager/blob/39c2becd8c66cdf065c0842250196b0e42be722d/app/src/main/java/com/amaze/filemanager/filesystem/smb/CifsContexts.kt#L35-L46
Bit slow during the first lookup, but once the resolve info floats around the LAN, consequent lookups are as quick as IP address method.