In need of help for configuring DNS server in Nobara

veryrudeguy12

New Member
Joined
May 13, 2024
Messages
10
Reaction score
1
Credits
66
Hello everyone

Recently, Steam has been soft-banned in my country. One couldn't enter their store and community sites using default dns, so a simple "fix" to bypass that was to use a different DNS server. Well-known DNS servers like Google's and Cloudflare's didn't work, so using something else like NextDNS is required. It's a simple fix on Windows by simply change the DNS in Network and Sharing center, however i found trouble doing so in Linux systems even though i have done as instructed on their setup instruction.

The best i could do before somehow bricking the whole system was able to configure the DNS server so i could access Steam on a browser, but that didn't work for the desktop client.
 


This is assuming your are using Fedora Workstation. You can go to "Settings" -> "Network" .
Then click on the gear icon to the right of your network interface, then go to the ipv4 tab. Then there under "DNS" you can list the dns servers you want to use an use a comma(,) to separate them.
 
This is assuming your are using Fedora Workstation. You can go to "Settings" -> "Network" .
Then click on the gear icon to the right of your network interface, then go to the ipv4 tab. Then there under "DNS" you can list the dns servers you want to use an use a comma(,) to separate them.
I've tried that. It quite didn't work
 
I've tried that. It quite didn't work
Open a terminal and share the output of the following command for me, after you share that with me I can find out what dns server is currently configured.
Code:
ip a
 
This is assuming your are using Fedora Workstation.
I forgot that Nobara uses KDE Plasma by default but that shouldn't make a difference.
 
I forgot that Nobara uses KDE Plasma by default but that shouldn't make a difference.
cudap2@nobara-pc:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether 6c:4b:90:7b:81:74 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether d4:6d:6d:9e:4c:8d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.2/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp3s0
valid_lft 86372sec preferred_lft 86372sec
inet6 2001:ee0:4fb3:ef30:d178:9f18:603b:4162/64 scope global dynamic noprefixroute
valid_lft 2592001sec preferred_lft 604801sec
inet6 fe80::fec8:52c8:2d45:4de4/64 scope link noprefixroute
valid_lft forever preferred_lft forever
 
Share the output of the following?
Code:
nmcli connection show wlp3s0 | grep ipv4.dns
 
Then share the output of the following.
Code:
nmcli con show
 
Share the output of the following.
Code:
nmcli connection show "Wired connection 1" | grep ipv4.dns
 
If you're using DHCP it's a litle harder to pick your DNS. There are ways around it.

1715612834935.png
 
Which exact dns servers do you want to use, so what are the ip addresses of those dns servers?
 
Which exact dns servers do you want to use, so what are the ip addresses of those dns servers?
As of now i'm trying to use NextDNS. The value on their setup page are as follow for ipv4 and ipv6:

45.90.28.228
45.90.30.228

2a07:a8c0::2a:42de
2a07:a8c1::2a:42de
 
Running the following.
Code:
sudo nmcli connection modify "Wired connection 1" ipv4.dns "45.90.28.228  45.90.30.228" ipv6.dns " 2a07:a8c0::2a:42de  2a07:a8c1::2a:42de"
sudo nmcli con reload
sudo nmcli connection up "Wired connection 1"
Then run the follow again and share that here.
Code:
nmcli connection show "Wired connection 1" | grep dns | egrep "ipv4|ipv6"
 
Don't you have to bring connection\interface down prior changing settings?
"nmcli connection up", reconnects you so basically does the same thing as bringing it down first and then up.
 
Running the following.
Code:
sudo nmcli connection modify "Wired connection 1" ipv4.dns "45.90.28.228  45.90.30.228" ipv6.dns " 2a07:a8c0::2a:42de  2a07:a8c1::2a:42de"
sudo nmcli con reload
sudo nmcli connection up "Wired connection 1"
Then run the follow again and share that here.
Code:
nmcli connection show "Wired connection 1" | grep dns | egrep "ipv4|ipv6"
It report some errors on the first following commands.

However, i somehow have managed to resolve this. I needed to setup both the resolv.conf as instruction and install their nextdns package at the same time for it to work. Thanks for your help regardless.
 
It report some errors on the first following commands.
It should work, then something must have not gone right.

However, i somehow have managed to resolve this. I needed to setup both the resolv.conf as instruction and install their nextdns package at the same time for it to work. Thanks for your help regardless.
You don't actually need to install a package to change your dns server. I'm curious to know what exact package you installed and from where, which instructions did you follow?
 

Members online

No members online now.

Top