Skip to content

cyon/docker-pdns-recursor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-pdns-recursor

Usage

Note: Default recursor.conf listen on port 5353. The container image passes the following arguments on startup to overwrite the config. disable-syslog=yes --daemon=no --local-address=0.0.0.0.

$ docker run -d
    -p 53:5353 \
    cyon/pdns-recursor:latest

Customize recursor.conf

Environment variables with the prefix PDNS_RECURSOR_ are transformed to the corresponding config option.

E.g: PDNS_RECURSOR_LOCAL_PORT=10053 transforms to local-port=5353

$ docker run -d --rm \
    --env PDNS_RECURSOR_WEBSERVER=yes \
    --env PDNS_RECURSOR_WEBSERVER_PORT=8080 \
    --env PDNS_RECURSOR_API_KEY=mysecretkey \
    --env PDNS_RECURSOR_WEBSERVER_ADDRESS=0.0.0.0 \
    --env PDNS_RECURSOR_LOCAL_PORT=10053 \
    -p 53:10053 \
    -p 8090:8080 \
    cyon/pdns-recursor:latest

About

PowerDNS recursor 4.1 based of Alpine 3.8 container image

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published