[EN] Increasing the DNS cache in Win XP

Najczęściej zadawane pytania na forum i odpowiedzi na nie. Polecamy na początek: podstawy -> www.bez-kabli.pl/viewtopic.php?t=1118, defnicje bezprzewodowe -> www.bez-kabli.pl/viewtopic.php?t=1896, test prędkości Internetu -> www.bez-kabli.pl/viewtopic.php?t=548 oraz konfiguracja połączenia GPRS EDGE UMTS HSDPA -> www.bez-kabli.pl/viewtopic.php?t=7211.

Moderator: Moderatorzy

Zablokowany
ja.michal
*Mistrz bezprzewodowy*
Posty: 22031
Rejestracja: 2006-08-14, 17:59
Lokalizacja: Polska

[EN] Increasing the DNS cache in Win XP

Post autor: ja.michal »

You can speed up loading pages by increasing DNS cache.

You can also set it manually:
Start menu -> Run and type regedit.

Find following registry key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]

If you can't find this value, create it by yourself:
Right-click -> New -> DWORD value


- CacheHashTableBucketSize - set the value to 1
- CacheHashTableSize - set the value to 180
- MaxCacheEntryTtlLimit - set the value to fa00
- MaxSOACacheEntryTtlLimit - set the value to 12d

Time of loading web pages has decreased from 2 to 0.7 seconds (measured with stopwatch :)). Of course, browser cache and all entries cleaned before the measurements tests.
Zablokowany