When your connection is bad or awkward, the problem is not found in the Domain Name System (DNS) server.
We will now present ways on how to perform DNS change on each operating system.
Windows 10
1 - Open the start menu and click Settings, represented by the gear symbol.
2 - Get in Network and Internet.
3 - Click on the Wi-Fi tab (even if you are on cable).
4 - Scroll to the bottom and click Change Adapter Options.
5 - On your connection, right click.
6 - Click on Properties.
7 - Authorize access with your administrator password.
8 - In the window that opens, look for IP Protocol Version 4 (TCP / IPv4) and click Properties.
9 - Enable the Use the following DNS server addresses option.
10 - Enter the preferred and secondary DNS addresses.
Google's DNS addresses are the best to use in this case. They are 8.8.8.8 and 8.8.4.4, respectively.
macOS
1 - Click on the Apple apple in the upper left corner.
2 - Enter System Preferences and select the Network menu.
3 - Select the type of connection you are using (such as Wi-Fi).
4 - Click the Advanced button and enter the DNS tab.
5 - Delete all addresses that are in the left table and click (+) to add new ones.
6 - Use the Google addresses mentioned above.