top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

How do I view the nameserver cache in Mac OS-X ?

+1 vote
234 views

I am trying to see the entries in my DNS resolver cache in my Macbook. But I am not aware what is the command to do the same.

posted Jul 28, 2013 by Natarajan Venkatraman

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
try "dscacheutil -h"
The dscacheutil does not seem to show anything. The -h option gives the help. When I try the -cachedump, I don't get any output.
try following
"dscacheutil -cachedump -entries"

1 Answer

0 votes

To see the NS cache status you may run

sudo killall -INFO mDNSResponder

Thus the SIGINFO signal will dump a snapshot summary of the DNS internal state to

/var/log/system.log

answer Jul 29, 2013 by Manish Kumar SIngh
Similar Questions
+3 votes

Is there a particular reason or is it that it's just not bothered being built that often that new versions of Git is released?

How can I build new versions of Git myself?

+1 vote

I want to write my own Screenshot Taking program in Python for Mac OS X.

Example : Whenever Command + Shift + 3 is pressed ==> whatever is there on the screen, should be grabbed / captured, and should be stored on my local with my own desired path, and name should automatically given as SnapshotX.. as in Snapshot1, Snapshot2, etc...

The same goes with Command + Shift + 4 ==> the only difference is that, it allows you to select a particular area to be captured / grabbed.

Command + Shift + 5 ==> This one is a little bit tricky which I am looking for. This shortcut doesn't exist. I want to create one of my own, where it would grab the entire webpage's screenshot which I am currently working on, and store the name as the webpage's link.

+1 vote

My system is set to go directly to the OpenDNS name servers for DNS resolution. However, the results I get from "nslookup" differ from what I get if I query the same name server from another machine with the same resolv.conf settings.

That leads me to believe that DNS info is being cached locally somewhere. I don't have bind or nscd installed.

Where is this caching taking place and how can I clear/flush it?

+2 votes

I am using VirtualBox in Mac OSX. I have a guest OS that writes to serial port. I want to view the output on the serial port. Since I do not have physical COM1, I have enabled host-pipe to write to a local domain socket. What tool can I use to view the serial port output?

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...