How to use DSN Cloudflare (1.1.1.1) ? (SOLVED)

a very small Live CD shaped to look and act like Puppy Linux.

Moderator: fredx181

Post Reply
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

How to use DSN Cloudflare (1.1.1.1) ? (SOLVED)

Post by soniabu »

I everyone.
In my Bookworm (debian) I would like to use Cloudflare (1.1.1.1) as a DSN but I really don't know how.
In my ect/resolv.conf I have this
nameserver 192.168.1.1 (I think my provider);
should I instead enter:
nameserver 1.1.1.1 ?
Or do I need to change some parameters in PeasyWIFI (release 4.9) so that everything happens automatically at 'Boot'?
Here in the forum I read this solution
https://www.forum.puppylinux.com/viewto ... 242#p58242
but I don't think it was decisive.
What do you think?
Thank you in advance for any information you think is appropriate to suggest to me.

Last edited by soniabu on Sat Mar 09, 2024 12:37 pm, edited 1 time in total.
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by soniabu »

So it seems that I succeeded by following the previous url, that is, by inserting ect/resolv.conf.head
(which I assumed was not there previously)
the nameserver 1.1.1.1 compare screen next.
(what I don't know is how to check if I actually use the Cloudflare DSN. Maybe there will be a Linux command but I haven't found it.)
sonia
Image

backi
Posts: 589
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 65 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by backi »

Hi @soniabu :

Make a little Script:

#!/bin/sh

echo "nameserver 1.1.1.1" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
#Downloaded from www.puppylinuxfaq.org

Give it a Name (Cloudflare) ...make executable.
Just click on it ........go look for "/etc/resolv.conf".

Verify your Connection
Verify 1.1.1.1 connection

After setting up 1.1.1.1, you can check if you are correctly connected to Cloudflare’s resolver.
Open a web browser on a configured device (smartphone or computer) or on a device connected to your configured router.
Enter https://1.1.1.1/help
on the browser address bar.

Wait for the page to load and run its tests. The page will present you a summary of the type of connection you have to 1.1.1.1, as well as the Cloudflare data center you are connected to.

If you reboot it is gone......and you have to click (Script) again

Trapster
Posts: 141
Joined: Sat Aug 01, 2020 7:44 pm
Has thanked: 1 time
Been thanked: 38 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by Trapster »

Try:

Code: Select all

nslookup google.com | grep Server
User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by soniabu »

oh! Well, Backi and Trap. well I'll try that too
thx

backi
Posts: 589
Joined: Thu Jul 23, 2020 2:28 pm
Has thanked: 71 times
Been thanked: 65 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by backi »

@soniabu :

Just realized ......if you have "umatrix" installed in your Browser ....you have to disable or modify it somehow .....otherwise (it seems) you can not connect to "Cloudflare".

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by soniabu »

Work, good! thanks to both of you I learned something more.

Image

williwaw
Posts: 1594
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 145 times
Been thanked: 291 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by williwaw »

backi wrote: Wed Feb 28, 2024 3:11 pm

Hi @soniabu :

Make a little Script:

#!/bin/sh

echo "nameserver 1.1.1.1" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
#Downloaded from www.puppylinuxfaq.org

Give it a Name (Cloudflare) ...make executable.
Just click on it ........go look for "/etc/resolv.conf".

Verify your Connection
Verify 1.1.1.1 connection

After setting up 1.1.1.1, you can check if you are correctly connected to Cloudflare’s resolver.
Open a web browser on a configured device (smartphone or computer) or on a device connected to your configured router.
Enter https://1.1.1.1/help
on the browser address bar.

Wait for the page to load and run its tests. The page will present you a summary of the type of connection you have to 1.1.1.1, as well as the Cloudflare data center you are connected to.

If you reboot it is gone......and you have to click (Script) again

thats good if you manually direct your browser to 1.1.1.1

to see if your setup actually uses 1.1.1.1 you could use something like https://dnsleaktest.com/
it will return your ip and find the dns actually used.

i find it easiest to put my dns settings in the router. it will use the dns setting for every connection on the network.
i use a dns that blocks ads (or everything on the network)

User avatar
soniabu
Posts: 258
Joined: Fri Jul 24, 2020 6:14 pm
Location: Paris<-->Montreal
Has thanked: 123 times
Been thanked: 30 times

Re: How to use DSN Cloudflare (1.1.1.1) ?

Post by soniabu »

The solution you propose is interesting, Will
thanks Sonia

however from the image I join I would say that I am using cloudflare

Image

Post Reply

Return to “DebianDogs”