Zum Inhalt der Seite gehen


Pihole updated nicht


In #Docker möchte ich #pihole updaten:
root@halde:/# pihole -g
  [✗] DNS resolution is currently unavailable
  [✗] DNS resolution is not available

Schlecht.
Aber die Namensauflösung funktioniert:
root@halde:/# host -ta heise.de
heise.de has address 193.99.144.80
root@halde:/# ping -c1 heise.de
PING heise.de (193.99.144.80) 56(84) bytes of data.
64 bytes from redirector.heise.de (193.99.144.80): icmp_seq=1 ttl=245 time=24.5 ms

--- heise.de ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 24.497/24.497/24.497/0.000 ms

Was könnte die Ursache sein?

teilten dies erneut

Als Antwort auf Rainer "friendica" Sokoll

it happened to me recently and there is an environment variable to unlock this (or reinstall the entire system)

I don’t remember exactly what the variable is but it should be mentioned in pihole -up

[edit] although this is for non-docker, my bad

Dieser Beitrag wurde bearbeitet. (1 Woche her)
Als Antwort auf Rainer "friendica" Sokoll

Solved it by adding dns to docker-compose.yaml
Looks like this now:
❯ cat docker-compose.yaml
volumes:
  pihole.etc-pihole:
  pihole.etc-dnsmasq.d:
services:
  pihole:
    container_name: pihole
    hostname: halde
    image: pihole/pihole:latest
    ports:
      - "53:53/tcp"
      - "53:53/udp"
      - "81:80/tcp"
    environment:
      TZ: 'Europe/Berlin'
      WEBPASSWORD: 'will not tell you'
    volumes:
      - pihole.etc-pihole:/etc/pihole
      - pihole.etc-dnsmasq.d:/etc/dnsmasq.d
    restart: unless-stopped
    dns:
      127.0.0.1

# vim:filetype=yaml tabstop=2 shiftwidth=2 softtabstop=2 expandtab