Hello everybody. I use Bookworm: Linux live 5.18.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.18.5-1 (2022-06-16) x86_64 GNU/Linux
I would like to use DNS 1.1.1.1 and I tried to modify etc/resolv.conf by entering as "nameserver 1.1.1.1"
however when I restart - after having done the save - in resolv.conf I still find nameserver 168.192 etc etc and not my nameserver 1.1.1.1.
Can anyone suggest me a solution?
thanks sonia
change my wifi dns to 1.1.1.1 (SOLVED)
Moderator: fredx181
- soniabu
- Posts: 285
- Joined: Fri Jul 24, 2020 6:14 pm
- Location: Paris<-->Montreal
- Has thanked: 123 times
- Been thanked: 37 times
change my wifi dns to 1.1.1.1 (SOLVED)
Re: change my wifi dns to 1.1.1.1
Hi @soniabu :
Maybe not the most elegant Solution .
I do it by creating the following Script and make it executable:
#!/bin/sh
echo "nameserver 1.1.1.1" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
Than click on it and activate it during Session.
You can see the Result in --- etc/resolve.conf---
-
- Posts: 2038
- Joined: Tue Jul 14, 2020 11:24 pm
- Has thanked: 182 times
- Been thanked: 387 times
Re: change my wifi dns to 1.1.1.1
backi wrote: Sun Sep 04, 2022 7:00 pmHi @soniabu :
Maybe not the most elegant Solution .I do it by creating the following Script and make it executable:
#!/bin/sh
echo "nameserver 1.1.1.1" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.confThan click on it and activate it during Session.
You can see the Result in --- etc/resolve.conf---
hi backi
have you tested with something like https://dnsleaktest.com/
- BologneChe
- Posts: 510
- Joined: Sun Aug 23, 2020 12:29 am
- Location: Stoneham, Québec
- Has thanked: 319 times
- Been thanked: 140 times
Re: change my wifi dns to 1.1.1.1
@soniabu
For additional information, you have the possibility to change the DNS in the settings of Firefox or Chromium
Born to lose; live to win
Re: change my wifi dns to 1.1.1.1
The way that it should work,
if necessary, create a file named /etc/resolv.conf.head
edit /etc/resolv.conf.head
and put this in the file:
Code: Select all
nameserver 1.1.1.1
nameserver 1.0.0.1
Disconnect and reconnect to your isp. Or reboot.
Your operating system may have a gui (Graphical User Interface) to set your dns server.
Editting /etc/resolv.conf.head
is about as easy.
You can test your configuration by typing in a terminal something like:
Code: Select all
# nslookup puppylinux.com
Server: 127.0.0.1
Address: 127.0.0.1:53
Non-authoritative answer:
Non-authoritative answer:
Name: puppylinux.com
Address: 162.241.244.127
- soniabu
- Posts: 285
- Joined: Fri Jul 24, 2020 6:14 pm
- Location: Paris<-->Montreal
- Has thanked: 123 times
- Been thanked: 37 times
Re: change my wifi dns to 1.1.1.1
thanks to all I'll see what I can combine. Then I will inform you of the result.
sonia
P.S. I found it easy to change the network setting in Fox and Crhom.
I will not forget the other elegant methods however that enrich my culture.
thx sonia