IMO it's much easier to install Pihole or Adguard home if you want DNS blocking on your system.
Linux
Welcome to c/linux!
Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!
Rules:
-
Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.
-
Be respectful: Treat fellow community members with respect and courtesy.
-
Quality over quantity: Share informative and thought-provoking content.
-
No spam or self-promotion: Avoid excessive self-promotion or spamming.
-
No NSFW adult content
-
Follow general lemmy guidelines.
What I wanted to achieve was independence from CloudFlare and other DNS resolvers. But I think I've completely misunderstood what Unbound does!
If you have VPN service, they probably provide a DNS server.
Oh I see, yes there's not really any way around that, you have to query a public resolver or the public root DNS servers to get answers about public hostnames.
Best option is to use a DNS server that has no logging and good privacy claims. https://www.privacyguides.org/en/dns/
Thank you so much for the clarification and for the very useful link!
I'll edit my original confused post – or maybe delete it altogether.
I'd just leave it up and edit it, in case someone else comes across it and it helps them out too!
I'll do so.
May I ask you one more thing? I see that DNS0.eu speaks about setting their DNS resolvers in /etc/systemd/resolved.conf
. Do you know what's the difference between specifying the DNS there, and specifying it in the network configuration (for instance in Ubuntu, IPv4 -> Method = Automatic (Only addresses) & DNS Servers = [list])?
Much gratitude!
I'm not entirely sure, it depends on how Ubuntu is handling DNS and if it will overwrite the resolved.conf file or not.
I would set it in the GUI and see if that works.
Thank you again! I'll investigate :)
Consider dnscrypt-proxy. I think it does what you want and has worked well for me for years.
Cheers, will look into it! I think I'm very confused as to what I want...