custom dns

How can i set a custom dns. Before bazzite i was using nobara and i just edit the /etc/systemd/reolved.conf file
Solution:
didnt it work? they both use Fedora, so I guess Bazzite and Nobara should use systemd-resolved as their DNS resolvers
Jump to solution
16 Replies
Solution
tulip
tulip8mo ago
didnt it work? they both use Fedora, so I guess Bazzite and Nobara should use systemd-resolved as their DNS resolvers
DevilFish303
DevilFish3038mo ago
according to /etc/resolv.conf systemd-resolved is what's in use
alex13131
alex13131OP8mo ago
Yes it works. I had to create the file. On nobara the file was already there.
tulip
tulip8mo ago
i guess nobara does something in their first-boot that generates that file but like that should work anywhere
M2
M28mo ago
You can modify /etc/systemd/resolved.conf To specify a specific DNS.
alteredworldevent
Hey, how did you solve the issue? Creating an empty resolved.conf and pasting the DNS values didn't work for me
M2
M28mo ago
Did you only paste the IP address of the DNS?
alex13131
alex13131OP8mo ago
LibreDNS
LibreDNS
a public encrypted DNS service, that people can use to maintain secrecy of their dns traffic, but also circumvent censorship.
alex13131
alex13131OP8mo ago
I use this dns. The site has what you mast wrote to the file
alteredworldevent
No, I pasted what nextdns instructed Which is about 6 lines of code
霖リン
霖リン7mo ago
The file does not exist, should I just create it?
M2
M27mo ago
You can create a drop-in file for it
霖リン
霖リン7mo ago
What do you mean drop-in file?
HikariKnight
HikariKnight7mo ago
just change it in the network manager gui in gnome or kde?
霖リン
霖リン7mo ago
I want to use DNS over TLS🥲
HikariKnight
HikariKnight7mo ago
Should be able to just add it to resolv then, we used to have it on by default but it caused issues for many people
Want results from more Discord servers?
Add your server