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