diff --git a/pihole/docker-compose/pihole/docker-compose.yaml b/pihole/docker-compose/pihole/docker-compose.yaml index 28959db..1f96806 100644 --- a/pihole/docker-compose/pihole/docker-compose.yaml +++ b/pihole/docker-compose/pihole/docker-compose.yaml @@ -20,6 +20,7 @@ services: volumes: - 'pihole:/etc/pihole' - 'dnsmasq:/etc/dnsmasq.d' + - './services/pihole/resolv.conf:/etc/resolv.conf' # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities cap_add: - NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed diff --git a/pihole/docker-compose/pihole/services/pihole/resolv.conf b/pihole/docker-compose/pihole/services/pihole/resolv.conf new file mode 100644 index 0000000..5cafee6 --- /dev/null +++ b/pihole/docker-compose/pihole/services/pihole/resolv.conf @@ -0,0 +1,3 @@ +nameserver 127.0.0.1 +nameserver 192.168.2.1 +search .