Read the statement by Michael Teeuw here.
Lots of DNS-queries from Mirror - chaching possible?
-
Hello!
Since i’m using the Spotify-Module, I see over 1.000 DNS-queries per 10 minutes to api.spotify.com from my mirror in pi-hole.
Is there a way to turn on dns-caching in raspbian, so that the module doesn’t have to ask my DNS server every second?
Thanks! -
@DigiTalk - By default, Rasbian and other Debian flavors do not cache DNS information.
A quick Google search points me towards NSCD, which you can install with
sudo apt-get install nscd. I would recommend having a look at this blog post which contains some useful information on configuring it. -
Wonderful, this worked like a charm!
Thank you so much!I tried searching google, too.
But the only info I found was on how to set up your own DNS server - which I alread had with pi-hole.
You seem to have used a significatly better choice of search-words. -
@DigiTalk - Heh. It was mostly serendipity. I had to look up DNS caching as part of my work with remotely accessing mirrors.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login