This commit is contained in:
James Turland 2024-01-13 22:46:56 +00:00
parent b857eac731
commit 3af51802b5
2 changed files with 8 additions and 9 deletions

View file

@ -24,10 +24,9 @@ services:
- "85:80/tcp" - "85:80/tcp"
#- "443:443/tcp" #- "443:443/tcp"
environment: environment:
- 'TZ=Europe/London' - TZ: 'Europe/London'
- 'WEBPASSWORD=password' - WEBPASSWORD: 'password'
- 'DNS1=172.23.0.8#5053' - PIHOLE_DNS_: '172.23.0.8#5053'
- 'DNS2=no'
volumes: volumes:
- '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/' - '/home/ubuntu/docker/pihole/etc-pihole/:/etc/pihole/'
- '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/' - '/home/ubuntu/docker/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/'

View file

@ -185,7 +185,7 @@ server:
# If not 0, then set the SO_RCVBUF socket option to get more buffer space on # If not 0, then set the SO_RCVBUF socket option to get more buffer space on
# UDP port 53 incoming queries. So that short spikes on busy servers do not # UDP port 53 incoming queries. So that short spikes on busy servers do not
# drop packets (see counter in netstat -su). Otherwise, the number of bytes # drop packets (see counter in netstat -su). Otherwise, the number of bytes
# to ask for, try “4m” on a busy server. # to ask for, try <EFBFBD>4m<EFBFBD> on a busy server.
# The OS caps it at a maximum, on linux Unbound needs root permission to # The OS caps it at a maximum, on linux Unbound needs root permission to
# bypass the limit, or the admin can use sysctl net.core.rmem_max. # bypass the limit, or the admin can use sysctl net.core.rmem_max.
# Default: 0 (use system value) # Default: 0 (use system value)
@ -203,7 +203,7 @@ server:
# If not 0, then set the SO_SNDBUF socket option to get more buffer space # If not 0, then set the SO_SNDBUF socket option to get more buffer space
# on UDP port 53 outgoing queries. # on UDP port 53 outgoing queries.
# Specify the number of bytes to ask for, try “4m” on a very busy server. # Specify the number of bytes to ask for, try <EFBFBD>4m<EFBFBD> on a very busy server.
# The OS caps it at a maximum, on linux Unbound needs root permission to # The OS caps it at a maximum, on linux Unbound needs root permission to
# bypass the limit, or the admin can use sysctl net.core.wmem_max. # bypass the limit, or the admin can use sysctl net.core.wmem_max.
# For example: sysctl -w net.core.wmem_max=4194304 # For example: sysctl -w net.core.wmem_max=4194304
@ -368,15 +368,15 @@ server:
# FORWARD ZONE # FORWARD ZONE
########################################################################### ###########################################################################
include: /opt/unbound/etc/unbound/forward-records.conf #include: /opt/unbound/etc/unbound/forward-records.conf
########################################################################### ###########################################################################
# LOCAL ZONE # LOCAL ZONE
########################################################################### ###########################################################################
# Include file for local-data and local-data-ptr # Include file for local-data and local-data-ptr
include: /opt/unbound/etc/unbound/a-records.conf #include: /opt/unbound/etc/unbound/a-records.conf
include: /opt/unbound/etc/unbound/srv-records.conf #include: /opt/unbound/etc/unbound/srv-records.conf
########################################################################### ###########################################################################
# WILDCARD INCLUDE # WILDCARD INCLUDE