Conversation started Jul 23, 2012 at 21:02.
Jul 23, 2012 21:02
Also:
$ cat /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.
#
nameserver 8.8.8.8
$ scutil --dns
DNS configuration

resolver #1
nameserver[0] : 8.8.8.8

resolver #2
domain : 117658741.members.btmm.icloud.com
options : pdns
timeout : 5
order : 150000

resolver #3
domain : local
options : mdns
timeout : 5
order : 300000

resolver #4
domain : 254.169.in-addr.arpa
options : mdns
timeout : 5
order : 300200

resolver #5
domain : 8.e.f.ip6.arpa
options : mdns
timeout : 5
order : 300400

resolver #6
domain : 9.e.f.ip6.arpa
options : mdns
timeout : 5
order : 300600
Also possible:
$ networksetup -listallnetworkservices
An asterisk (*) denotes that a network service is disabled.
Bluetooth DUN
Ethernet
Wi-Fi
iPhone USB
Bluetooth PAN
$ networksetup -getdnsservers Wi-Fi
8.8.8.8
@DanielBeck i like this one a lot better
@KronoS ...until you need to repeat it for all your network devices...
It's the command line equivalent to Network Preference Pane though...
@DanielBeck most people only have 1-2 devices... though
@KronoS Wi-Fi, Ethernet, iPhone USB, Bluetooth PAN are 4
ya but iPhone USB and Bluetooth are typically not internet connection devices, or affected by the DNS changes
Jul 23, 2012 21:10
This is the GUI for it.
 
Conversation ended Jul 23, 2012 at 21:10.