Why does mount.cifs fail while trying to mount with hostname but runs successfully with IP?
Issue
- mount.cifs fails while using hostname with the following error.
mount error: could not resolve address for server: Unknown error
- Succeeds with IP address
[User@client /]$ mount -t cifs //172.16.4.3/software$ /media
Password: ******
[User@client /]
Environment
- Red Hat Enterprise Linux (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.