dns caching

bwanaaa

Senior member
Dec 26, 2002
739
1
81
in looking at the habits of my kids, and most people, they have a set of websites they like to revisit. In fact this behavior is formalized in the existence of bookmarks. However, even though sites are bookmarked, it's not the ip addresses that are bookmarked but the web site names. This requires a dns lookup every time. I was wondering how much bandwidth could be saved if I had a dns cache that was dynamic. I know the hosts file is supposed to do this, but it is static. Is there a service i can run on Win7 that caches ip addresses behind the scenes so the browser can check it locally before going out to the net? I also know of a linux app called dnsmasq although i have never used it. DNSmasq can run in openWRT and DDWRT so dnscaching could be installed at the router level but I am still googling the basics. Before I spend hours doing this, can anyone tell me if this is an old solution that has been deprecated by something better/faster/newer?
 

drebo

Diamond Member
Feb 24, 2006
7,035
1
81
DNS is very low bandwidth. There's no point in caching anymore.
 

bwanaaa

Senior member
Dec 26, 2002
739
1
81
ok. good point. how about latency then? would dns caching make the 'web surfing experience' smoother, faster, more responsive? and what would be the best way? per machine or on the router?
 

VirtualLarry

No Lifer
Aug 25, 2001
56,450
10,119
126
DNS is very low bandwidth. There's no point in caching anymore.

It's not the bandwidth, but the latency. If you had to go out and do a DNS lookup for every URL, then you have two round-trips, one for DNS, and one for the HTTP. If you can eliminate one or both of those by caching, you can save a lot of (perceived) time.
 
Feb 25, 2011
16,822
1,493
126
I have a local DNS server, because I am lazy. (I can type in things like "ssh server" or print to "colorprinter" and as long as I'm in the house it works.)

It's a Linux VM running DNSMasq, which provides caching functions as well.

In terms of web responsiveness / latency: I can't really tell the difference, although I've seen people benchmark it and there is a pretty sizable theoretical difference. It just doesn't seem to amount to much in practical terms (a few tens of milliseconds per request.)

If your computer is sluggish, buy an SSD.
 

Fardringle

Diamond Member
Oct 23, 2000
9,190
755
126
The only times that a local DNS server is really useful are if you have local names you want to host like Dave the Nerd said (or in a business environment), if your ISP DNS servers are bad (and then it's better to just use different public servers) or if the latency on your Internet connection is REALLY horrible (satellite, for instance). The first one is mostly just for convenience, the second can be fixed by using different public servers. The third one could actually make a noticeable difference if setting up the local DNS is something you're willing and able to do.
 

bwanaaa

Senior member
Dec 26, 2002
739
1
81
thank you folks. makes sense that as network speed goes up, then low bandwidth events appear instantaneous. i guess this would have been a good thing when i was using a hayes 2400 baud modem.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |