Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 18 Sep 2018, 23:19
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Changing DNS server settings
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
labbe5

Joined: 13 Nov 2013
Posts: 1320
Location: Canada

PostPosted: Sat 04 Aug 2018, 15:41    Post subject:  Changing DNS server settings
Subject description: and how to make them persistent when using DHCP
 

https://developers.google.com/speed/public-dns/docs/using

Configure your network settings to use Cloudflare

N.B. Replace Google Public DNS with Cloudflare which are 1.1.1.1 and 1.0.0.1 instead of 8.8.8.8 and 8.8.4.4 in example shown below.

Nothing prevents you from using Google Public DNS, but Cloudflare is a better alternative privacy-wise.

Secondly, if you have a VPN, such as AirVPN, no need to change any settings, AirVPN provides its own DNS servers and has a no log policy. You can check this by using ipleak.net, powered by AirVPN.

When you use Google Public DNS, you are changing your DNS "switchboard" operator from your ISP to Google Public DNS.

In most cases, the IP addresses used by your ISP's domain name servers are automatically set by your ISP via the Dynamic Host Configuration Protocol (DHCP). To use Google Public DNS, you need to explicitly change the DNS settings in your operating system or device to use the Google Public DNS IP addresses. The procedure for changing your DNS settings varies according to operating system and version (Windows, Mac or Linux) or the device (computer, phone, or router). We give general procedures here that might not apply for your OS or device; please consult your vendor documentation for authoritative information.


We bypass Changing DNS server settings on Ubuntu because no Dog or Puppy use Network Manager.

Here is what is to know to make your DNS nameserver persistent in resolv.conf when using DHCP :

Additionally, if you are using DHCP client software that overwrites the settings in /etc/resolv.conf, you will need to set up the client accordingly by editing the client's configuration file.

Back up /etc/resolv.conf:

sudo cp /etc/resolv.conf /etc/resolv.conf.auto

Edit /etc/dhcp3/dhclient.conf:

sudo vi /etc/dhcp3/dhclient.conf

If there is a line containing domain-name-servers, write down the IP addresses for future reference.

Replace that line with, or add, the following line:

For IPv4:

prepend domain-name-servers 8.8.8.8, 8.8.4.4;

For IPv6:

prepend domain-name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;

For IPv6-only, you can use Google Public DNS64 instead of the above IPv6 addresses.

Save and exit.
Restart any Internet clients you are using.
Test that your setup is working correctly.

This is done for what? It is common practice by ISPs to collect data on users to sell, especially in USA, now that your data on internet is, by law-abiding ISPs, up for grabs.

It is one of many ways to keep your data to yourself.

Further reading :
https://www.wired.com/2006/05/the-eternal-value-of-privacy/
https://public-dns.info/
https://developers.google.com/speed/public-dns/docs/security
https://www.iceflatline.com/2010/02/how-to-install-and-configure-dnsmasq/
https://null-byte.wonderhowto.com/how-to/flood-your-isp-with-random-noisy-data-protect-your-privacy-internet-0186193/
useful commands :
$ cat /etc/resolv.conf (list of nameservers)

Last edited by labbe5 on Mon 06 Aug 2018, 08:32; edited 2 times in total
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sat 04 Aug 2018, 17:47    Post subject:  

Seems to me that this is a lot like saying
"Just climb up here into the Lion's mouth to pick his teeth and get all the free food you wish for"

SNAP !

Your ISP is probably using them anyway .
They definitely would know a great deal more about the subject than I do .
Back to top
View user's profile Send private message Yahoo Messenger 
dancytron

Joined: 18 Jul 2012
Posts: 1123

PostPosted: Sat 04 Aug 2018, 22:33    Post subject:  

None of this applies if you have a router or similar hardware between you and the internet. If you have a router, then the usual setup is that the DNS servers are set on the router and /etc/resolve.conf points to the router.

If you are worried about security at all, you probably have some sort of router or similar hardware between you and the internet.
Back to top
View user's profile Send private message 
april

Joined: 14 Sep 2013
Posts: 1241
Location: Green Island baby!

PostPosted: Sun 05 Aug 2018, 05:33    Post subject:  

dancytron wrote:
None of this applies if you have a router or similar hardware between you and the internet. If you have a router, then the usual setup is that the DNS servers are set on the router and /etc/resolve.conf points to the router..


If you read at the first link . They are suggesting you change /etc/resolve.conf to the new address !
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0345s ][ Queries: 12 (0.0058s) ][ GZIP on ]