julianxhokaxhiu / docker-powerdns

PowerDNS + Recursor + Admin GUI + Adblock in one single Docker
MIT License
53 stars 27 forks source link

run error. #6

Closed paddy235 closed 6 years ago

paddy235 commented 6 years ago

docker-compose.yml

version: "2"
services:
  pdns:
    image: julianxhokaxhiu/docker-powerdns
    restart: always
    ports:
    - "53:53"
    - "53:53/udp"
    - "80:8080"
    volumes:
    - /webserver/pdns/data:/srv/data

docker-compose logs -f

pdns_1  | Sep 19 01:17:42 PowerDNS Recursor 4.1.4 (C) 2001-2018 PowerDNS.COM BV
pdns_1  | Sep 19 01:17:42 Using 64-bits mode. Built using gcc 6.4.0 on Sep 12 2018 22:16:01 by buildozer@build-edge-x86_64.
pdns_1  | Sep 19 01:17:42 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
pdns_1  | Sep 19 01:17:42 Reading random entropy from '/dev/urandom'
pdns_1  | Sep 19 01:17:42 Enabling IPv6 transport for outgoing queries
pdns_1  | Sep 19 01:17:42 Only allowing queries from: 127.0.0.1, ::1/128
pdns_1  | Sep 19 01:17:42 Fatal error: Trying to set unknown parameter 'allow-recursion'
pdns_1  | 2018-09-19 01:17:42,610 INFO exited: pdns_server (exit status 1; not expected)
pdns_1  | 2018-09-19 01:17:42,610 INFO exited: pdns_server (exit status 1; not expected)
pdns_1  | Sep 19 01:17:42 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8, 100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128, fc00::/7, fe80::/10, 0.0.0.0/8, 192.0.0.0/24, 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24, 240.0.0.0/4, ::/96, ::ffff:0:0/96, 100::/64, 2001:db8::/32, 0.0.0.0, ::
pdns_1  | Sep 19 01:17:42 PowerDNS Recursor itself will distribute queries over threads
pdns_1  | Sep 19 01:17:42 Redirecting queries for zone '.' with recursion to: 222.222.222.222:53
pdns_1  | Sep 19 01:17:42 Inserting forward zone 'localhost' based on hosts file
pdns_1  | Sep 19 01:17:42 Inserting reverse zone '1.0.0.127.in-addr.arpa' based on hosts file
pdns_1  | Sep 19 01:17:42 Inserting forward zone '820e2194d91c' based on hosts file
pdns_1  | Sep 19 01:17:42 Inserting reverse zone '2.0.18.172.in-addr.arpa' based on hosts file
pdns_1  | Sep 19 01:17:42 Not decreasing socket buffer size from 8388608 to 250000
pdns_1  | Sep 19 01:17:42 Listening for UDP queries on 127.0.0.1:5353
pdns_1  | Sep 19 01:17:42 Not decreasing socket buffer size from 8388608 to 250000
pdns_1  | Sep 19 01:17:42 Exception: Resolver binding to server socket on port 5353 for ::1: Address not available
pdns_1  | 2018-09-19 01:17:42,642 INFO exited: pdns_recursor (exit status 1; not expected)
pdns_1  | 2018-09-19 01:17:42,642 INFO exited: pdns_recursor (exit status 1; not expected)
pdns_1  | 2018-09-19 01:17:43,645 INFO spawned: 'powerdnsadmin' with pid 57
pdns_1  | 2018-09-19 01:17:43,645 INFO spawned: 'powerdnsadmin' with pid 57
pdns_1  | 2018-09-19 01:17:43,647 INFO spawned: 'pdns_server' with pid 58
pdns_1  | 2018-09-19 01:17:43,647 INFO spawned: 'pdns_server' with pid 58
pdns_1  | 2018-09-19 01:17:43,650 INFO spawned: 'pdns_recursor' with pid 59
pdns_1  | 2018-09-19 01:17:43,650 INFO spawned: 'pdns_recursor' with pid 59
pdns_1  | 2018-09-19 01:17:43,651 INFO success: crond entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pdns_1  | 2018-09-19 01:17:43,651 INFO success: crond entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
pdns_1  | env: can't execute 'python3': No such file or directory
pdns_1  | 2018-09-19 01:17:43,671 INFO exited: powerdnsadmin (exit status 127; not expected)
pdns_1  | 2018-09-19 01:17:43,671 INFO exited: powerdnsadmin (exit status 127; not expected)
pdns_1  | Sep 19 01:17:43 PowerDNS Recursor 4.1.4 (C) 2001-2018 PowerDNS.COM BV
pdns_1  | Sep 19 01:17:43 Using 64-bits mode. Built using gcc 6.4.0 on Sep 12 2018 22:16:01 by buildozer@build-edge-x86_64.
pdns_1  | Sep 19 01:17:43 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
pdns_1  | Sep 19 01:17:43 Reading random entropy from '/dev/urandom'
pdns_1  | Sep 19 01:17:43 Enabling IPv6 transport for outgoing queries
pdns_1  | Sep 19 01:17:43 Only allowing queries from: 127.0.0.1, ::1/128
pdns_1  | Sep 19 01:17:43 Fatal error: Trying to set unknown parameter 'allow-recursion'
pdns_1  | 2018-09-19 01:17:43,698 INFO exited: pdns_server (exit status 1; not expected)
pdns_1  | 2018-09-19 01:17:43,698 INFO exited: pdns_server (exit status 1; not expected)

pdns_1 | Sep 19 01:17:42 Fatal error: Trying to set unknown parameter 'allow-recursion'

pdns_1 | env: can't execute 'python3': No such file or directory pdns_1 | 2018-09-19 01:17:43,671 INFO exited: powerdnsadmin (exit status 127; not expected)

julianxhokaxhiu commented 6 years ago

I'll check, maybe they deprecated the flag.

julianxhokaxhiu commented 6 years ago

I triggered another build. Once is completed, can you please try it again? It should preserve the same logic, just the Recursion logic is swapped ( Recursor acts as main listener and forwards recursion traffic also to the master where local domains stay into )

https://hub.docker.com/r/julianxhokaxhiu/docker-powerdns/builds/b7ufj2zyebmh7wvpsjmzece/

For more info check the commit itself.

julianxhokaxhiu commented 6 years ago

Sorry I found another small issue and a new build was re-triggered: https://hub.docker.com/r/julianxhokaxhiu/docker-powerdns/builds/b8jcxw4uevwonkthpb2gmlh/