Hi! I recently found when I mount by hostname using cifs, it cannot resolve the hostname, but only IP, like the following:
root:# mount -t cifs "//NAS/main" "/mnt/share/NAS"
mount error: could not resolve address for NAS: Unknown error
root:# mount -t cifs "//192.168.1.101/main" "/mnt/share/NAS"
Password for vl70@//192.168.1.101/main:
I did a search and found this post: