this post was submitted on 03 Oct 2024
1 points (100.0% liked)

Pi-hole® - A black hole for Internet Advertisements

6 readers
1 users here now

"The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content" Please read the rules before posting, thanks!.

founded 1 year ago
MODERATORS
 
The original post: /r/pihole by /u/TheDeathPit on 2024-10-03 02:13:53.

Hi all,

Trying to get Pihole and Unbound going in the one Docker Container but keep getting the following error:

[1727920535] unbound[1:1] error: SERVFAIL <dsadata.intel.com. AAAA IN>: failed to get a delegation (eg. prime failure)
[1727920535] unbound[1:1] info: 192.168.10.140 dsadata.intel.com. AAAA IN SERVFAIL 0.006868 0 35
[1727920535] unbound[1:1] error: SERVFAIL <dsadata.intel.com. A IN>: failed to get a delegation (eg. prime failure)
[1727920535] unbound[1:1] info: 192.168.10.140 dsadata.intel.com. A IN SERVFAIL 0.007129 0 35

Compose in Portainer:

services:
    pihole:
        container_name: pihole-unbound
        networks:
            pihole:
              ipv4_address: 192.168.10.140
        environment:
            - ServerIP=192.168.10.140
            - TZ=Australia/Sydney
            - WEBPASSWORD=mypassword
            - PIHOLE_DNS_=192.168.10.141#53
        ports:
            - '53:53/udp'
            - '67:67/udp'
            - '53:53/tcp'
            - '80:80/tcp'
            - '443:443/tcp'
        volumes:
            - '/share/appdata/pihole-unbound/etc-pihole:/etc/pihole'
            - '/share/appdata/pihole-unbound/etc-dnsmasq.d:/etc/dnsmasq.d'
        labels:
            - diun.enable=true
        hostname: pihole.localdomain
        restart: unless-stopped
        image: pihole/pihole

    unbound:
        container_name: unbound
        image: mvance/unbound:latest
        networks:
            pihole:
              ipv4_address: 192.168.10.141
        environment:
            - TZ=Australia/Sydney
        volumes:
            - '/share/appdata/unbound:/opt/unbound/etc/unbound'
        ports:
            - '53:53/tcp'
            - '53:53/udp'
        restart: unless-stopped

networks:
   pihole:
      name: LAN  #This is the name of our macvlan
      external: true

Container is using a macvlan:

https://i.imgur.com/sWlGcpx.jpeg

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here