]>
Commit | Line | Data |
---|---|---|
89c4ed63 A |
1 | @echo off |
2 | ||
3 | rem -------------------------------------------------------------- | |
4 | rem -- Warm up DNS cache script by your own MRU domains | |
5 | rem -- | |
6 | rem -- Version 1.0 | |
7 | rem -- By Yuri Voinov (c) 2014 | |
8 | rem -------------------------------------------------------------- | |
9 | ||
10 | rem Check dig installed | |
11 | for /f "delims=" %%a in ('where dig') do @set dig=%%a | |
12 | if /I "%dig%"=="" echo Dig not found. If installed, add path to PATH environment variable. & exit 1 | |
13 | echo Dig found: %dig% | |
14 | ||
15 | echo Warming up cache by MRU domains... | |
16 | rem dig -f my_domains 1>nul 2>nul | |
17 | rem echo Done. | |
18 | ||
19 | for %%a in ( | |
20 | mail.ru | |
21 | my.mail.ru | |
22 | mra.mail.ru | |
23 | agent.mail.ru | |
24 | news.mail.ru | |
25 | icq.com | |
26 | lenta.ru | |
27 | gazeta.ru | |
28 | peerbet.ru | |
29 | www.opennet.ru | |
30 | snob.ru | |
31 | artlebedev.ru | |
32 | mail.google.com | |
33 | translate.google.com | |
34 | drive.google.com | |
35 | google.com | |
36 | google.kz | |
37 | drive.google.com | |
38 | blogspot.com | |
39 | farmanager.com | |
40 | forum.farmanager.com | |
41 | plugring.farmanager.com | |
42 | symantec.com | |
43 | symantecliveupdate.com | |
44 | shalla.de | |
45 | torstatus.blutmagie.de | |
46 | torproject.org | |
47 | dnscrypt.org | |
48 | unbound.net | |
49 | getsharex.com | |
50 | skype.com | |
51 | vlc.org | |
52 | aimp.ru | |
53 | mozilla.org | |
54 | libreoffice.org | |
55 | piriform.com | |
56 | raidcall.com | |
57 | nvidia.com | |
58 | intel.com | |
59 | microsoft.com | |
60 | windowsupdate.com | |
61 | ru.wikipedia.org | |
62 | www.bbc.co.uk | |
63 | tengrinews.kz | |
64 | ) do "%dig%" %%a 1>nul 2>nul | |
65 | ||
66 | echo Saving cache... | |
67 | unbound_cache.cmd -s | |
68 | echo Done. |