Sign inSign up

tesma99/unbound-alpine

By tesma99

•Updated about 3 years ago

Recursive Unbound DNS Resolver for Pi-hole (based on alpine)

Image
0

897

tesma99/unbound-alpine repository overview

⁠Overview

Recursive Unbound DNS Resolver for Pi-hole as docker image (based on alpine)

⁠tags

  • 2023.35.1, latest
  • 2023.29.1
  • 2023.26.1

⁠usage

docker compose example

version: "3"

networks:
  pihole_unbound:
    ipam:
      config:
        - subnet: 172.26.0.0/16

services:

  unbound:
    container_name: unbound
    # https://hub.docker.com/r/tesma99/unbound-alpine/tags
    image: tesma99/unbound-alpine:latest
    restart: unless-stopped
    environment:
        - UPDATE_ROOTHINTS=true
    networks:
      pihole_unbound:
        ipv4_address: 172.26.0.4
      
  # More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
  pihole:
    container_name: pihole
    image: pihole/pihole:2023.03.1 # https://github.com/pi-hole/docker-pi-hole/releases
    # For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
    ports:
      - "192.168.178.2:53:53/tcp"
      - "192.168.178.2:53:53/udp"
      #- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
      - "8080:80/tcp"
    environment:
      TZ: 'Europe/Berlin'
    # Volumes store your data between container upgrades
    volumes:
      - './etc-pihole:/etc/pihole'
      - './etc-dnsmasq.d:/etc/dnsmasq.d'
    # 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
    restart: unless-stopped
    networks:
      pihole_unbound:
        ipv4_address: 172.26.0.2

Tag summary

Content type

Image

Digest

sha256:a051a74fe…

Size

12.3 MB

Last updated

about 3 years ago

docker pull tesma99/unbound-alpine