Page 1 of 1

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

Posted: Mon Feb 26, 2024 6:16 pm
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.


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 12:03 pm
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


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 3:11 pm
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


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 3:35 pm
by Trapster

Try:

Code: Select all

nslookup google.com | grep Server

Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 3:35 pm
by soniabu

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


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 3:45 pm
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".


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 3:47 pm
by soniabu

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

Image


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 5:52 pm
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)


Re: How to use DSN Cloudflare (1.1.1.1) ?

Posted: Wed Feb 28, 2024 9:06 pm
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