psi-4ward / docker-powerdns

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

docker run pdns command error #15

Closed sonnysunzu closed 6 years ago

sonnysunzu commented 6 years ago

i couldnt get this running so after some research found this command

docker run --name pdns \ --link pdns-mysql:mysql \ -p 53:53 \ -p 53:53/udp \ -e MYSQL_USER=root \ -e MYSQL_PASS=supersecret \ psitrax/powerdns \ --cache-ttl=120 \ --allow-axfr-ips=127.0.0.1 123.1.2.3

should be

docker run --name pdns \ --link pdns-mysql:mysql \ -p 53:53 \ -p 53:53/udp \ -e MYSQL_USER=root \ -e MYSQL_PASS=supersecret \ psitrax/powerdns \ --cache-ttl=120 \ --allow-axfr-ips=127.0.0.1,123.1.2.3

see --allow-axfr-ips their is a comma needed