Part 1: Increase the size of the DNS cache
A larger DNS cache will mean fewer trips to the nameserver and faster overall
performance:
1. Open the Registry Editor (see Chapter 3).
2. Expand the branches to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Dnscache\Parameters.
3. Add the following four DWORD values by going to Edit ??? New ???
DWORD Value. Then, enter the numeric values specified by doubleclicking
and selecting the Decimal option:
??? CacheHashTableBucketSize, set to 1
??? CacheHashTableSize, set tot 384
??? MaxCacheEntryTtlLimit, set to 64000
??? MaxSOACacheEntryTtlLimit, set to 301
Remember, these are Decimal values (not Hexadecimal values).
4. Close the Registry Editor when you??™re done. You??™ll have to restart Windows
for this change to take effect.
Internet Me | 411
Networking and
Internet
Part 2: Add a permanent entry to the DNS cache
When you add a permanent entry to the DNS cache, it will always override
the information provided by the nameserver. Here are a few reasons why
you might want to do this:
It??™s a quick and dirty workaround. If a nameserver gives the wrong address
for a domain or provides no information at all, you can still access the
domain if it??™s listed as a permanent entry.
It puts a stopper in spyware. A permanent entry with intentionally incorrect
information will block requests sent to the corresponding servers.
This can be an effective way to prevent some web sites from tracking
you, some ???spyware??? software from recording your personal information,
and even stop some pop-up ads when you visit web pages.
Pages:
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578