The Domain Name System, or DNS, is a computer database that resolves alpha URL addresses into its numeric equivalent, also known as the IP address. When a computer connects to the Internet, it is assigned a primary DNS and a secondary DNS server address. Internet service providers usually assign the DNS servers, but computers that connect to an internal router are assigned a DNS server from the router. When troubleshooting why a computer cannot connect to the Internet, technicians may request the DNS server addresses. The methods used to identify the DNS servers are different for Mac and Windows computers, but both use a command-line utility to arrive at the same information.
Click the "Start" button, type "cmd" in the search box and press the "Enter" key to open the command prompt.
Type "ipconfig /all" at the command prompt and press the "Enter" key.
Find the "DNS Servers" lines. The first IP address is the primary DNS server.
Close the command prompt.
Launch "Applications." Open the "Utilities" folder and double-click "Terminal."
Type "networksetup -getdnsservers Wi-Fi" at the prompt for computers running Mac OS X 10.7 and "networksetup -getdnsservers airport" for computers running earlier versions of Mac OS X 10.6. Instead of "airport" use "bluetooth" or "ethernet" for Bluetooth or Ethernet connections, respectively. The first DNS server address, or second if the first is 184.108.40.206., should be the primary DNS server.
- Jupiterimages/Comstock/Getty Images