Skip to main content
1 of 2
sorin
  • 31.4k
  • 67
  • 171
  • 240

How to I display the current DNS servers from the command line under OS X?

I want to display the DNS serververs that are used by the current network setup on OS X, from the command line.

sorin
  • 31.4k
  • 67
  • 171
  • 240