LAN Cache for an ISP
How to scale LAN cache to ISP scale:
Now lets start LAN Cache:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
docker run \
--restart unless-stopped \
--name lancache-dns \
--detach \
-p 53:53/udp \
-p 53:53/tcp \
-e USE_GENERIC_CACHE=true \
-e UPSTREAM_DNS=8.8.8.8 \
-e DNS_BIND_IP=192.168.1.20 \
-e LANCACHE_IP=192.168.1.20 \
-e CACHE_DOMAINS_REPO="https://github.com/dmcken/cache-domains.git" \
-e CACHE_DOMAINS_BRANCH="ubuntu-archives" \
lancachenet/lancache-dns:latest
docker run \
--restart unless-stopped \
--name lancache \
--detach \
-v /cache/data:/data/cache \
-v /cache/logs:/data/logs \
-p 80:80 \
-p 443:443 \
-e CACHE_DOMAINS_REPO="https://github.com/dmcken/cache-domains.git" \
-e CACHE_DOMAINS_BRANCH="ubuntu-archives" \
lancachenet/monolithic:latest
This post is licensed under CC BY 4.0 by the author.