How Can We Help?
HOW-TO: Check your DNS
Checking your DNS (Domain Name System) settings is useful for troubleshooting network issues or ensuring that your network is configured correctly. Here are the steps for Windows, macOS, and Linux:
Windows
- Using Command Prompt:
- Press
Win + R
, typecmd
, and press Enter to open the Command Prompt. - Type
ipconfig /all
and press Enter. - Look for the “DNS Servers” entry under your active network connection (e.g., Ethernet adapter or Wireless LAN adapter). This will list the IP addresses of the DNS servers your computer is using.
- Press
- Using Network & Internet Settings:
- Press
Win + I
to open Settings. - Go to “Network & Internet.”
- Select “Status” from the left menu, then click on “Change adapter options.”
- Right-click on your active network connection (e.g., Ethernet or Wi-Fi) and select “Properties.”
- Select “Internet Protocol Version 4 (TCP/IPv4)” and click “Properties.”
- In the Properties window, look at the “Use the following DNS server addresses” field if it’s filled in, or if “Obtain DNS server address automatically” is selected. This will show your DNS settings.
- Press
macOS
- Using Network Preferences:
- Click on the Apple menu in the top-left corner and select “System Preferences.”
- Click on “Network.”
- Select your active network connection (e.g., Wi-Fi or Ethernet) from the list on the left.
- Click on the “Advanced” button in the lower right corner.
- Go to the “DNS” tab. This will display the DNS servers that your Mac is using.
- Using Terminal:
- Open Terminal (you can find it in Applications > Utilities).
- Type
scutil --dns
and press Enter. - Look for the “resolver #1” section. This will list the DNS servers your Mac is using.
Linux
- Using Terminal:
- Open a terminal window.
- Type
nmcli dev show | grep DNS
and press Enter.- This command will display the DNS servers used by NetworkManager.
- Alternatively, you can check the contents of the
/etc/resolv.conf
file by typingcat /etc/resolv.conf
and pressing Enter.- This file usually lists the DNS servers that the system is using.
- Using Network Manager:
- Open the network manager applet (usually found in the system tray or system settings).
- Select your active network connection and go to its settings.
- Look for the DNS settings in the configuration options. This will show the DNS servers your system is using.
Verifying DNS Configuration
- Using a Browser:
- Open a web browser and go to a site like whatismydnsserver.com. This site will display your current DNS server information.
- Using Command Line Tools:
- Windows: Type
nslookup google.com
in Command Prompt and press Enter. The “Server” and “Address” fields will show the DNS server being used for the lookup. - macOS: Type
nslookup google.com
in Terminal and press Enter. The “Server” and “Address” fields will show the DNS server being used for the lookup. - Linux: Type
nslookup google.com
ordig google.com
in Terminal and press Enter. The output will show the DNS server being used for the lookup.
- Windows: Type
These steps will help you check your DNS settings on most operating systems.