How do I check what DNS server I’m using (on Mac OS X)

In Mac OS X, how do I check what DNS server I’m currently using (preferably a command line solution)?

System Preferences > Network shows 192.168.1.1, which is my router’s address and not the real DNS server.

Source: How do I check what DNS server I’m using (on Mac OS X)

Advertisements

作者: 弗洛缺德

基本不大着调、偶尔让人牵肠挂肚……

One thought on “How do I check what DNS server I’m using (on Mac OS X)”

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s