psi-4ward / docker-powerdns

PowerDNS Docker Image based on Alpine
107 stars 110 forks source link

Unable to start container #10

Closed bearx3f closed 6 years ago

bearx3f commented 6 years ago

after start powerdns a few second container stop with these log

Initializing Database
Jun 12 07:58:12 Guardian is launching an instance
Fatal: non-option on the command line, perhaps a '--setting=123' statement missed the '='?

info: database

docker run -d --name pdns-mysql \
-e MYSQL_ROOT_PASSWORD=pdns123 \
-v /opt/powerdns/mysql-data:/var/lib/mysql \
mariadb:10.1

powerdns

docker run -d --link pdns-mysql:mysql \
-p 53:53 \
-p 53:53/udp \
-e MYSQL_USER=root \
-e MYSQL_PASS=pdns123 \
--restart=always \
--name pdns psitrax/powerdns \
--cache-ttl=120 \
--allow-axfr-ips=127.0.0.1 192.2.200.240
bearx3f commented 6 years ago

according to document

--allow-axfr-ips=127.0.0.1 123.1.2.3

must be

--allow-axfr-ips=127.0.0.1,123.1.2.3