this post was submitted on 26 Aug 2025
10 points (85.7% liked)

Linux

12824 readers
62 users here now

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:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.ca/post/50459056

[Edit: this question came out of my confusion. I thought Unbound could somehow substitute DNS servers (like CloudFlare), but it can't. Apologies for my ignorance.]

I've often heard about Unbound, and the possibility of using it as a DNS resolver on my laptop. So, to be clear, not as a DNS resolver in a local network; just in a single machine, also because I'd like to use it no matter where I bring my laptop.

The instructions given in the second link above seem quite complete. Does anyone here have other tips or experiences to share? I'm with Ubuntu on a Thinkpad.

Cheers!

top 11 comments
sorted by: hot top controversial new old
[–] MangoPenguin@lemmy.blahaj.zone 5 points 3 days ago (1 children)

IMO it's much easier to install Pihole or Adguard home if you want DNS blocking on your system.

[–] pglpm@lemmy.ca 1 points 3 days ago (2 children)

What I wanted to achieve was independence from CloudFlare and other DNS resolvers. But I think I've completely misunderstood what Unbound does!

[–] tal@lemmy.today 2 points 3 days ago

If you have VPN service, they probably provide a DNS server.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 3 days ago (1 children)

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/

[–] pglpm@lemmy.ca 2 points 3 days ago (1 children)

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.

[–] MangoPenguin@lemmy.blahaj.zone 3 points 3 days ago (1 children)

I'd just leave it up and edit it, in case someone else comes across it and it helps them out too!

[–] pglpm@lemmy.ca 1 points 3 days ago (1 children)

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!

[–] MangoPenguin@lemmy.blahaj.zone 2 points 3 days ago (1 children)

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.

[–] pglpm@lemmy.ca 1 points 3 days ago

Thank you again! I'll investigate :)

[–] sainth@lemmy.world 3 points 3 days ago (1 children)

Consider dnscrypt-proxy. I think it does what you want and has worked well for me for years.

[–] pglpm@lemmy.ca 1 points 3 days ago

Cheers, will look into it! I think I'm very confused as to what I want...