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
tulip6mo ago
didnt it work? they both use Fedora, so I guess Bazzite and Nobara should use systemd-resolved as their DNS resolvers
DevilFish303
DevilFish3036mo ago
according to /etc/resolv.conf systemd-resolved is what's in use
alex13131
alex131316mo ago
Yes it works. I had to create the file. On nobara the file was already there.
tulip
tulip6mo ago
i guess nobara does something in their first-boot that generates that file but like that should work anywhere
M2
M26mo 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
M26mo ago
Did you only paste the IP address of the DNS?
alex13131
alex131316mo ago
LibreDNS
LibreDNS
a public encrypted DNS service, that people can use to maintain secrecy of their dns traffic, but also circumvent censorship.
alex13131
alex131316mo 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
霖リン
霖リン5mo ago
The file does not exist, should I just create it?
M2
M25mo ago
You can create a drop-in file for it
霖リン
霖リン5mo ago
What do you mean drop-in file?
HikariKnight
HikariKnight5mo ago
just change it in the network manager gui in gnome or kde?
霖リン
霖リン5mo ago
I want to use DNS over TLS🥲
HikariKnight
HikariKnight5mo 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