How do I change my DNS on Ubuntu 18.04? Which DNS should I use?
I'm recently interested in DNS for a cleaner, faster & more secure Internet surfing. In my country many websites are obscured and I was told that changing DNS may allow me to use them as I did before. I also don't like to share my metadata with others and some DNSs, such as the ones provided by OpenDNS, seem to provide more privacy to the user.
Is it true that changing DNS results in a more secure web experience?
How do I change DNS on Ubuntu 18.04, and most importantly, which DNS should I switch to?
networking server 18.04 dns opendns
add a comment |
I'm recently interested in DNS for a cleaner, faster & more secure Internet surfing. In my country many websites are obscured and I was told that changing DNS may allow me to use them as I did before. I also don't like to share my metadata with others and some DNSs, such as the ones provided by OpenDNS, seem to provide more privacy to the user.
Is it true that changing DNS results in a more secure web experience?
How do I change DNS on Ubuntu 18.04, and most importantly, which DNS should I switch to?
networking server 18.04 dns opendns
add a comment |
I'm recently interested in DNS for a cleaner, faster & more secure Internet surfing. In my country many websites are obscured and I was told that changing DNS may allow me to use them as I did before. I also don't like to share my metadata with others and some DNSs, such as the ones provided by OpenDNS, seem to provide more privacy to the user.
Is it true that changing DNS results in a more secure web experience?
How do I change DNS on Ubuntu 18.04, and most importantly, which DNS should I switch to?
networking server 18.04 dns opendns
I'm recently interested in DNS for a cleaner, faster & more secure Internet surfing. In my country many websites are obscured and I was told that changing DNS may allow me to use them as I did before. I also don't like to share my metadata with others and some DNSs, such as the ones provided by OpenDNS, seem to provide more privacy to the user.
Is it true that changing DNS results in a more secure web experience?
How do I change DNS on Ubuntu 18.04, and most importantly, which DNS should I switch to?
networking server 18.04 dns opendns
networking server 18.04 dns opendns
edited Dec 31 '18 at 10:39
Sourav Ghosh
39729
39729
asked Dec 24 '18 at 18:49
Akane Yoshinega
88
88
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Does changing DNS result it a more secure web experience?
Yes, only if you do not trust your network provider. In which case, you can set up DNS. I actually use Google DNS, as this is generally faster.
Normally OpenDNS and GoogleDNS are faster than provider DNS.
However, there is a catch. If your network is such that it requires you to login before you can access the internet (like in airports, some cafes, co-working spaces), then they might not work if you overwrite the provider's DNS settings, as their authentication process depends upon DNS.
There is, however a very good solution available. You setup DNS per connection.
- Right click on the network manager icon in the panel and choose "Edit connections..."
- Select your connection from the wired or wireless tab, choose "Edit"
- (Enter your password if the connection is set as "system-wide available")
- Choose IPv4 settings tab
- Switch method to "Automatic (DHCP) addresses only"
- Enter the name server you want in the box "Additional DNS servers" and press "Apply"
That should do the trick.
You need to do that for every WiFi AP that you connect to.
PS: Google DNS are 8.8.8.8 , 8.8.4.4
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
add a comment |
First, I recommend that you install namebench.
namebench searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.
Install namebench from the terminal:
sudo apt update && sudo apt install namebench
Start the program:
namebench
namebench makes thousands of queries and takes a few minutes to complete; please be patient. When it completes, a report will be prepared that illustrates the fastest available nameservers. Here is a sample from my machine:
Saving report to /tmp/namebench_2018-12-24_1436.html
When we examine the saved report, we see:
Once you know the two or three most ideal nameservers, apply them in Network Manager's settings like this:
Turn DNS Automatic to off. Insert the IP addresses of the preferred nameservers, seperated by commas, click Apply and close.
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104303%2fhow-do-i-change-my-dns-on-ubuntu-18-04-which-dns-should-i-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Does changing DNS result it a more secure web experience?
Yes, only if you do not trust your network provider. In which case, you can set up DNS. I actually use Google DNS, as this is generally faster.
Normally OpenDNS and GoogleDNS are faster than provider DNS.
However, there is a catch. If your network is such that it requires you to login before you can access the internet (like in airports, some cafes, co-working spaces), then they might not work if you overwrite the provider's DNS settings, as their authentication process depends upon DNS.
There is, however a very good solution available. You setup DNS per connection.
- Right click on the network manager icon in the panel and choose "Edit connections..."
- Select your connection from the wired or wireless tab, choose "Edit"
- (Enter your password if the connection is set as "system-wide available")
- Choose IPv4 settings tab
- Switch method to "Automatic (DHCP) addresses only"
- Enter the name server you want in the box "Additional DNS servers" and press "Apply"
That should do the trick.
You need to do that for every WiFi AP that you connect to.
PS: Google DNS are 8.8.8.8 , 8.8.4.4
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
add a comment |
Does changing DNS result it a more secure web experience?
Yes, only if you do not trust your network provider. In which case, you can set up DNS. I actually use Google DNS, as this is generally faster.
Normally OpenDNS and GoogleDNS are faster than provider DNS.
However, there is a catch. If your network is such that it requires you to login before you can access the internet (like in airports, some cafes, co-working spaces), then they might not work if you overwrite the provider's DNS settings, as their authentication process depends upon DNS.
There is, however a very good solution available. You setup DNS per connection.
- Right click on the network manager icon in the panel and choose "Edit connections..."
- Select your connection from the wired or wireless tab, choose "Edit"
- (Enter your password if the connection is set as "system-wide available")
- Choose IPv4 settings tab
- Switch method to "Automatic (DHCP) addresses only"
- Enter the name server you want in the box "Additional DNS servers" and press "Apply"
That should do the trick.
You need to do that for every WiFi AP that you connect to.
PS: Google DNS are 8.8.8.8 , 8.8.4.4
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
add a comment |
Does changing DNS result it a more secure web experience?
Yes, only if you do not trust your network provider. In which case, you can set up DNS. I actually use Google DNS, as this is generally faster.
Normally OpenDNS and GoogleDNS are faster than provider DNS.
However, there is a catch. If your network is such that it requires you to login before you can access the internet (like in airports, some cafes, co-working spaces), then they might not work if you overwrite the provider's DNS settings, as their authentication process depends upon DNS.
There is, however a very good solution available. You setup DNS per connection.
- Right click on the network manager icon in the panel and choose "Edit connections..."
- Select your connection from the wired or wireless tab, choose "Edit"
- (Enter your password if the connection is set as "system-wide available")
- Choose IPv4 settings tab
- Switch method to "Automatic (DHCP) addresses only"
- Enter the name server you want in the box "Additional DNS servers" and press "Apply"
That should do the trick.
You need to do that for every WiFi AP that you connect to.
PS: Google DNS are 8.8.8.8 , 8.8.4.4
Does changing DNS result it a more secure web experience?
Yes, only if you do not trust your network provider. In which case, you can set up DNS. I actually use Google DNS, as this is generally faster.
Normally OpenDNS and GoogleDNS are faster than provider DNS.
However, there is a catch. If your network is such that it requires you to login before you can access the internet (like in airports, some cafes, co-working spaces), then they might not work if you overwrite the provider's DNS settings, as their authentication process depends upon DNS.
There is, however a very good solution available. You setup DNS per connection.
- Right click on the network manager icon in the panel and choose "Edit connections..."
- Select your connection from the wired or wireless tab, choose "Edit"
- (Enter your password if the connection is set as "system-wide available")
- Choose IPv4 settings tab
- Switch method to "Automatic (DHCP) addresses only"
- Enter the name server you want in the box "Additional DNS servers" and press "Apply"
That should do the trick.
You need to do that for every WiFi AP that you connect to.
PS: Google DNS are 8.8.8.8 , 8.8.4.4
answered Dec 24 '18 at 19:08
Domo N Car
545
545
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
add a comment |
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
Thanks for the exhuastive answer!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
I'm looking forward to try this on my pc!
– Akane Yoshinega
Dec 25 '18 at 20:29
add a comment |
First, I recommend that you install namebench.
namebench searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.
Install namebench from the terminal:
sudo apt update && sudo apt install namebench
Start the program:
namebench
namebench makes thousands of queries and takes a few minutes to complete; please be patient. When it completes, a report will be prepared that illustrates the fastest available nameservers. Here is a sample from my machine:
Saving report to /tmp/namebench_2018-12-24_1436.html
When we examine the saved report, we see:
Once you know the two or three most ideal nameservers, apply them in Network Manager's settings like this:
Turn DNS Automatic to off. Insert the IP addresses of the preferred nameservers, seperated by commas, click Apply and close.
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
add a comment |
First, I recommend that you install namebench.
namebench searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.
Install namebench from the terminal:
sudo apt update && sudo apt install namebench
Start the program:
namebench
namebench makes thousands of queries and takes a few minutes to complete; please be patient. When it completes, a report will be prepared that illustrates the fastest available nameservers. Here is a sample from my machine:
Saving report to /tmp/namebench_2018-12-24_1436.html
When we examine the saved report, we see:
Once you know the two or three most ideal nameservers, apply them in Network Manager's settings like this:
Turn DNS Automatic to off. Insert the IP addresses of the preferred nameservers, seperated by commas, click Apply and close.
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
add a comment |
First, I recommend that you install namebench.
namebench searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.
Install namebench from the terminal:
sudo apt update && sudo apt install namebench
Start the program:
namebench
namebench makes thousands of queries and takes a few minutes to complete; please be patient. When it completes, a report will be prepared that illustrates the fastest available nameservers. Here is a sample from my machine:
Saving report to /tmp/namebench_2018-12-24_1436.html
When we examine the saved report, we see:
Once you know the two or three most ideal nameservers, apply them in Network Manager's settings like this:
Turn DNS Automatic to off. Insert the IP addresses of the preferred nameservers, seperated by commas, click Apply and close.
First, I recommend that you install namebench.
namebench searches the fastest DNS servers available for your computer to use. namebench runs a fair and thorough benchmark using your web browser history, tcpdump output, or standardized datasets in order to provide an individualized recommendation.
Install namebench from the terminal:
sudo apt update && sudo apt install namebench
Start the program:
namebench
namebench makes thousands of queries and takes a few minutes to complete; please be patient. When it completes, a report will be prepared that illustrates the fastest available nameservers. Here is a sample from my machine:
Saving report to /tmp/namebench_2018-12-24_1436.html
When we examine the saved report, we see:
Once you know the two or three most ideal nameservers, apply them in Network Manager's settings like this:
Turn DNS Automatic to off. Insert the IP addresses of the preferred nameservers, seperated by commas, click Apply and close.
answered Dec 24 '18 at 19:42
chili555
38.2k55177
38.2k55177
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
add a comment |
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
Seems far easier than on Windows! Thanks!
– Akane Yoshinega
Dec 25 '18 at 20:28
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
If my answer has been helpful, please accept it: askubuntu.com/tour The searchers will appreciate it.
– chili555
Dec 26 '18 at 2:26
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1104303%2fhow-do-i-change-my-dns-on-ubuntu-18-04-which-dns-should-i-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown