I run SMB on file-server.corp.example.com - from Finder, going to Go -> Connect to Server and entering this DNS name doesn't work, because it can't resolve it to an IP address.
Google says "dscacheutil -flushcache" should flush the cache - it doesn't, or perhaps it flushes one cache and there's yet another?
See below for my dilemma. Below repeated on both the local user's terminal and an elevated sudo su root session:
sh-3.2# dscacheutil -flushcache
sh-3.2# ping file-server.corp.example.com
ping: cannot resolve file-server.corp.example.com: Unknown host
sh-3.2# nslookup file-server.corp.example.com
sh: file-server.corp.example.com: command not found
sh-3.2# lookupd -flushcache
sh: lookupd: command not found
Retrieving data ...