You are not logged in.

#1 2008-04-25 08:40:02

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

(silly?) question about dns server cache

I installed on an old pentium3 pc the bind server, just for fun and for testing if a local dns server could made an huge difference in resolving addresses. It's configured as a mirror of my ISP's dns server and thus far all is good and faster.
Now I have a probably silly question but why there is no way to save to file the server cache to be available after a reboot (I really don't need nor want to keep the pc on all the day and night)? Isn't a waste of time and bandwith contacting again the isp's dns server for queries already resolved just yesterday?

I'm aware of the risks in phishing and stale cache, I just want to test it.
And anyway, if this is not possible with bind or any other dns server, is there a software that can save the dns cache on disk to be available even after a reboot? Maybe with a weekly flush and syncing with the isp's server?

Thank you


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#2 2008-04-25 10:43:30

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: (silly?) question about dns server cache

I think that maybe pdnsd would be a better decision in your situation. pdnsd is a dns proxy server with persistent caching. If you're still interrested you could read more at:

http://www.phys.uu.nl/~rombouts/pdnsd/i … aboutpdnsd
http://wiki.archlinux.org/index.php/Pdnsd

and get PKGBUILD from:

http://aur.archlinux.org/packages.php?ID=1983

I'm  sorry to pointing you like that but I've never used it—I only know about existence of such program.

Hope this helps! smile


It's not the best thing when they call you a "member" you know… wink

Offline

#3 2008-04-25 12:17:26

onearm
Member
From: Anywhere but here
Registered: 2006-07-06
Posts: 359
Website

Re: (silly?) question about dns server cache

Didn't know of the existence of pdnsd, looks what I was looking for. Thanks for pointing it to me.


To get something done, a committee should consist of no more than three persons, two of them absent.
--
My Github

Offline

#4 2008-04-25 13:44:02

TheBodziO
Member
From: Dukla, Poland
Registered: 2006-07-28
Posts: 230
Website

Re: (silly?) question about dns server cache

Np! smile


It's not the best thing when they call you a "member" you know… wink

Offline

Board footer

Powered by FluxBB