4, and change X.X.X.X with the secondary address that you want to use.įor example, this command sets the secondary DNS addres to 1.0.0.1: In the command, remember to change ADAPTER-NAME with the name of your network adapter you queried on step No. Interface ip add dns name="ADAPTER-NAME" addr="X.X.X.X" index=2 Type the following command to add an alternative DNS IP address and press Enter: Interface ip set dns name="Ethernet1" source="static" address="1.1.1.1"Ħ. 4, and change X.X.X.X with the IP address of the DNS server that you want to use.įor example, this command sets the primary DNS address to 1.1.1.1: In the command, remember to change ADAPTER-NAME with the name of your network adapter you identified on step No. Interface ip set dns name="ADAPTER-NAME" source="static" address="X.X.X.X" Type the following command to set the primary DNS IP address and press Enter: Type the following command to identify the names of the network adapters and press Enter:ĥ. Type the following command to launch the tool to change the networking settings and press Enter:Ĥ. Search for Command Prompt, right-click the top result, and select the Run as administrator option.ģ.
To use the Command Prompt to change the device DNS settings, use these steps:Ģ.
#How dns servers mac windows
Using the Command PromptĪlternatively, you can also use Command Prompt to change the DNS settings on Windows 10. Confirm your "Preferred DNS" and "Alternate DNS" addresses.Īfter you complete the steps, you should now be able to connect to the internet using the new resolvers.Īlthough the Settings app should be the recommended experience to change the DNS settings on your computer, we're not listing this option first because it can be confusing for some people.
#How dns servers mac manual
Use the "Edit IP settings" drop-down menu and select the Manual option.Ĩ. Under the "IP settings" section, click the Edit button.Ħ.
#How dns servers mac windows 10
Select the connection that connects Windows 10 to the network.ĥ. Click on Ethernet (or Wi-Fi depending on your connection).Ĥ. To change the DNS addresses using the Settings app, use these steps:ģ. Once you complete the steps, the device will immediately start using the DNS settings that you specified.
In addition to adding more addresses, from this tab, you can also edit and remove resolvers, and you even have an option on the side to change their priority. Specify the alternate DNS server address. If you want to use Cloudflare, Google Public DNS, or Cisco OpenDNS, you can use these settings: Type your "preferred" and "alternate" DNS addresses. When you select the option to specify the DNS settings manually, the device will continue to receive the TCP/IP address from the DHCP server (router).ĩ. Select the Use the following DNS server addresses option. Select and check the Internet Protocol Version 4 (TCP/IPv4) option.Ĩ. You'll know which adapter is connected to the network because it won't have a "Disabled" or "Network cable unplugged" label.Ħ.
Right-click the network interface that connects Windows 10 to the internet, and select the Properties option. Click the Change adapter settings option in the left pane.ĥ.While browsing without them, be extra careful about what websites you visit and what you download.To change the DNS settings on Windows 10 using Control Panel, use these steps: Note: Remember that both VPNs and firewalls are designed to keep you safe online, and removing them can leave you at risk. If you're using a third-party antivirus program, you might need to disable that app's firewall too. You might need to click the lock icon in the bottom-left corner first. Click Firewall at the top, then select Turn Off Firewall. On a Mac, open the System Preferences app and select Security & Privacy. In Windows, you can disable the default firewall by searching for Windows Defender Firewall, then selecting Turn Windows Defender Firewall on or off. You can also open the Network settings on your computer and disable all VPNs from there. This isn't as common, but if there's something standing between your computer and the open internet - say, a VPN or firewall - you can run into DNS issues.Įvery VPN has a different method for turning it off, but look for a Disconnect option in the settings.