mirror of
https://github.com/sujiba/pihole-unbound-hyperlocal.git
synced 2025-07-10 13:55:12 +02:00
reactivated dnsmasq cache
This commit is contained in:
parent
dba7c1a693
commit
bc3ffa9423
3 changed files with 4 additions and 15 deletions
11
README.md
11
README.md
|
@ -48,17 +48,6 @@ dig sigok.verteiltesysteme.net @127.0.0.1 | grep status
|
|||
- Second dig should show status: SERVFAIL
|
||||
- Last dig should show status: NOERROR
|
||||
|
||||
### Additional configuration
|
||||
Edit setupVars.conf
|
||||
```
|
||||
vi ./etc-pihole/setupVars.conf
|
||||
```
|
||||
and add
|
||||
```
|
||||
# Caching is done by unbound
|
||||
CACHE_SIZE=0
|
||||
```
|
||||
|
||||
#### resolv.conf
|
||||
If you are having problems with the pihole deployment inside the container, uncomment the following line in the docker-compose.yaml
|
||||
```
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
IMAGE=sujiba/pihole-unbound-hyperlocal:latest
|
||||
|
||||
NAME=pihole-unbound
|
||||
NAME=pihole
|
||||
HOSTNAME=raspi-01
|
||||
|
||||
# 80 or an alternative port if you use a reverse proxy like nginx
|
||||
|
@ -25,7 +25,7 @@ DNSSEC=false
|
|||
# Set the cache size for dnsmasq.
|
||||
# Useful for increasing the default cache size or to set it to 0.
|
||||
# Note that when DNSSEC is "true", then this setting is ignored.
|
||||
CUSTOM_CACHE_SIZE=0
|
||||
CUSTOM_CACHE_SIZE=10000
|
||||
|
||||
# Never forward reverse lookups for private ranges
|
||||
DNS_BOGUS_PRIV=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue