Home > Article > Computer Tutorials > How to set up dns
The steps to set up dns are as follows: 1. Open the network settings of the computer; 2. Find the currently used network connection, right-click the connection and select "Properties"; 3. In the properties window of the network connection, Find and double-click "Internet Protocol Version 4"; 4. Select the "Use the following DNS server address" option; 5. Enter the IP address of the preferred DNS server you want to set in the "Preferred DNS Server" field; 6. Click "OK" Save the settings and close the properties window of the network connection.
To set up DNS (Domain Name System, Domain Name System), you can follow the steps below To do this:
Open your computer's network settings. On Windows, you can find Network and Internet or Network and Sharing in Control Panel Center, and then click Change Adapter Settings. On a Mac, you can find Network in System Preferences.
Find the network connection you are currently using, possibly If the connection is Wi-Fi or wired, right-click the connection and select Properties (Windows) or click the gear icon after the connection (Mac).
In the network connection's Properties window , find and double-click "Internet Protocol Version 4 (TCP/IPv4)" (Windows) or "TCP/IP" (Mac).
In the pop-up window, select "Use "DNS server address below" option.
Enter the IP address of the preferred DNS server you want to set in the "Preferred DNS Server" field. Commonly used public DNS servers are Google Public DNS (8.8.8.8 and 8.8.4.4) and Cloudflare DNS (1.1.1.1 and 1.0.0.1). You can also choose other DNS servers, such as those provided by your Internet Service Provider.
If necessary, you can also fill in the "Alternate DNS Server" field to use an alternate DNS server to provide alternative resolution services for the system. This is optional, if you do not fill it in, the system will only use the preferred DNS server.
Click "OK" to save the settings and close the properties window of the network connection.
Please note that depending on your operating system and network configuration, The above steps may vary. If you have problems setting up DNS, we recommend consulting the documentation for the relevant operating system or consulting your Internet service provider.
The above is the detailed content of How to set up dns. For more information, please follow other related articles on the PHP Chinese website!