0 Replies Latest reply: May 15, 2012 5:16 PM by dmare
dmare Level 1 Level 1 (30 points)

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# 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

Server:        192.168.12.250

Address:    192.168.12.250#53

 

Name:    file-server.corp.example.com

Address: 192.168.10.247

 

sh-3.2# ping file-server.corp.example.com

ping: cannot resolve file-server.corp.example.com: Unknown host

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# dscacheutil -flushcache

sh-3.2# nslookup file-server.corp.example.com

Server:        192.168.12.250

Address:    192.168.12.250#53

 

Name:    file-server.corp.example.com

Address: 192.168.10.247

 

sh-3.2# ping file-server.corp.example.com

ping: cannot resolve file-server.corp.example.com: Unknown host

sh-3.2# file-server.corp.example.com

sh: file-server.corp.example.com: command not found

sh-3.2# lookupd -flushcache

sh: lookupd: command not found

sh-3.2#