Skip to main content
added 823 characters in body
Source Link
Vlastimil Burián
  • 31.3k
  • 66
  • 211
  • 358

For an ordinary usagetesting scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only, and fill in the mentioned DNS servers:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.


Disclaimer

I hereby directly recommended the use of a Google product, which I do not use myself or recommend to others.

This answer is only for testing purposes. I do not recommend these DNS resolvers to my colleagues. If need be said one example for all, I would recommend 1.1.1.1 Cloudflare DNS service with addresses:

IPv4

  • Primary:

    1.1.1.1
    
  • Secondary:

    1.0.0.1
    

IPv6

  • Primary:

    2606:4700:4700::1111
    
  • Secondary:

    2606:4700:4700::1001
    

Cloudflare DNS resolvers are privacy-focused and even more secure in a sense. More information here.

I further decline that there would be any affiliation between me and mentioned companies.

For an ordinary usage scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only, and fill in the mentioned DNS servers:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.

For an ordinary testing scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only, and fill in the mentioned DNS servers:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.


Disclaimer

I hereby directly recommended the use of a Google product, which I do not use myself or recommend to others.

This answer is only for testing purposes. I do not recommend these DNS resolvers to my colleagues. If need be said one example for all, I would recommend 1.1.1.1 Cloudflare DNS service with addresses:

IPv4

  • Primary:

    1.1.1.1
    
  • Secondary:

    1.0.0.1
    

IPv6

  • Primary:

    2606:4700:4700::1111
    
  • Secondary:

    2606:4700:4700::1001
    

Cloudflare DNS resolvers are privacy-focused and even more secure in a sense. More information here.

I further decline that there would be any affiliation between me and mentioned companies.

added 39 characters in body
Source Link
Vlastimil Burián
  • 31.3k
  • 66
  • 211
  • 358

For an ordinary usage scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only, and fill in the mentioned DNS servers:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.

For an ordinary usage scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.

For an ordinary usage scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only, and fill in the mentioned DNS servers:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.

Source Link
Vlastimil Burián
  • 31.3k
  • 66
  • 211
  • 358

For an ordinary usage scenario, we will try to force your Linux Mint to use Google Public DNS:

  • Primary DNS resolver: 8.8.8.8 (IPv4)
  • Secondary DNS resolver: 8.8.4.4 (IPv4)

You can do that relatively simple, like this:

  1. Left click on your Wifi/LAN icon:

    enter image description here

  2. From the menu click on Network Connections:

    enter image description here

  3. Double click on the corresponding WiFi/LAN:

    enter image description here

  4. In the connection settings, go to the IPv4 Settings tab:

    enter image description here

  5. Change the Method to DHCP Addresses only:

    enter image description here

  6. Hit Save, and turn off/on your WiFi/LAN link.


Finally, just to confirm our little experiment has been completed successfully, copy-paste to your terminal:

( nmcli dev list || nmcli dev show ) 2>/dev/null | grep DNS

to show which DNS you are using now:

IP4.DNS[1]:                             8.8.8.8
IP4.DNS[2]:                             8.8.4.4

Now try to ping some domain name.