Help Pi Hole na Dockerze, jak skofigurować?

krystianen

krystianen

Entry Technician
Q Associate
Jan 25, 2010
84
8
8
Poznań
QNAP
TS-x53
Ethernet
1 GbE
Wersja oprogramowania Firmware: 4.4.1 Build 20YYMMDD
Model serwera: QNAP TS-251A

Zainstalowałem PI HOLE na dockerze jednak podczas uruchomienia mam bład

Czy ktoś się spotkał z takim problemem?

Code:
[✗] DNS resolution is currently unavailable

Doszukałem się że musze ze musze zedytować DNSy w pliku /etc/resolf.conf tylko nie wiem jak sie mam do niego stać. Bo wyrzuceniu w/w błedy pi hole sie wylacza.

Code:
 ::: Starting docker specific checks & setup for docker pihole/pihole                                                                                                                                                                                                                                                     
WARNING Misconfigured DNS in /etc/resolv.conf: Two DNS servers are recommended, 127.0.0.1 and any backup server                                                                                                                                                                                                           
WARNING Misconfigured DNS in /etc/resolv.conf: Primary DNS should be 127.0.0.1 (found 127.0.0.11)                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                         
nameserver 127.0.0.11                                                                                                                                                                                                                                                                                                     
options ndots:0                                                                                                                                                                                                                                                                                                           
Assigning random password: -6wj8quc                                                                                                                                                                                                                                                                                       
  [i] Existing PHP installation detected : PHP version 7.0.33-0+deb9u5                                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                                                                         
  [i] Installing configs from /etc/.pihole...                                                                                                                                                                                                                                                                             
  [i] Existing dnsmasq.conf found... it is not a Pi-hole file, leaving alone!                                                                                                                                                                                                                                             
  [✓] Copying 01-pihole.conf to /etc/dnsmasq.d/01-pihole.conf                                                                                                                                                                                                                                                             
chown: cannot access '/etc/pihole/dhcp.leases': No such file or directory                                                                                                                                                                                                                                                 
Setting password: -6wj8quc                                                                                                                                                                                                                                                                                               
+ pihole -a -p -6wj8quc -6wj8quc                                                                                                                                                                                                                                                                                         
  [✓] New password set                                                                                                                                                                                                                                                                                                   
Using default DNS servers: 8.8.8.8 & 8.8.4.4                                                                                                                                                                                                                                                                             
DNSMasq binding to default interface: eth0                                                                                                                                                                                                                                                                               
Added ENV to php:                                                                                                                                                                                                                                                                                                         
                        "PHP_ERROR_LOG" => "/var/log/lighttpd/error.log",                                                                                                                                                                                                                                                 
                        "ServerIP" => "0.0.0.0",                                                                                                                                                                                                                                                                         
                        "VIRTUAL_HOST" => "0.0.0.0",                                                                                                                                                                                                                                                                     
Using IPv4 and IPv6                                                                                                                                                                                                                                                                                                       
::: Preexisting ad list /etc/pihole/adlists.list detected ((exiting setup_blocklists early))                                                                                                                                                                                                                             
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts                                                                                                                                                                                                                                                         
https://mirror1.malwaredomains.com/files/justdomains                                                                                                                                                                                                                                                                     
http://sysctl.org/cameleon/hosts                                                                                                                                                                                                                                                                                         
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt                                                                                                                                                                                                                                                         
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt                                                                                                                                                                                                                                                               
https://hosts-file.net/ad_servers.txt                                                                                                                                                                                                                                                                                     
::: Testing pihole-FTL DNS: FTL started!                                                                                                                                                                                                                                                                                 
::: Testing lighttpd config: Syntax OK                                                                                                                                                                                                                                                                                   
::: All config checks passed, cleared for startup ...                                                                                                                                                                                                                                                                     
::: Docker start setup complete                                                                                                                                                                                                                                                                                         
  [i] Pi-hole blocking is enabled                                                                                                                                                                                                                                                                                         
  [✗] DNS resolution is currently unavailable                                                                                                                                                                                                                                                                             
  [✗] DNS resolution is not available                                                                                                                                                                                                                                                                                     
[cont-init.d] 20-start.sh: exited 1.                                                                                                                                                                                                                                                                                     
[cont-finish.d] executing container finish scripts...                                                                                                                                                                                                                                                                     
[cont-finish.d] done.                                                                                                                                                                                                                                                                                                     
[s6-finish] syncing disks.                                                                                                                                                                                                                                                                                               
[s6-finish] sending all processes the TERM signal.                                                                                                                                                                                                                                                                       
[s6-finish] sending all processes the KILL signal and exiting.
 
pigers

pigers

Maruda
Administrator
Jul 26, 2013
14,163
46
2,480
230
www.buymeacoffee.com
QNAP
QuTScloud
Ethernet
100 GbE
  • ·
  • QuTScloud
  • ·
  • 100 GbE
  • ·
  • Ten którego QNAP jeszcze nie ma ! Najnowszy na Debianie !
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
pigers

pigers

Maruda
Administrator
Jul 26, 2013
14,163
46
2,480
230
www.buymeacoffee.com
QNAP
QuTScloud
Ethernet
100 GbE
  • ·
  • QuTScloud
  • ·
  • 100 GbE
  • ·
  • Ten którego QNAP jeszcze nie ma ! Najnowszy na Debianie !
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 

Attachments

  • 1675020125231.png
    1675020125231.png
    40 KB · Views: 5
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 
QQryq

QQryq

Entry Technician
Q Associate
Jan 19, 2023
49
2
8
34
QNAP
HS-251
Ethernet
1 GbE
You must log in or register to view this reply.
 

Users search this thread by keywords

  1. pihole