Configurable, extensible, lightweight PowerDNS Authoritative Name Server.
475
Provides easy access to a configurable, extensible, lightweight PowerDNS Authoritative Name Server. Currently supports SQLite backend but more could be added easily. Also provides support for enabling the REST API interface. Different configurations can easily be choosen through the use of environmental variables. SQLite backend is enabled by default.
By default, the server can be a slave for a domain. To disable slave mode, use -e SLAVE=no environmental variable. To enable master capabilities for the server, use -e MASTER=yes.
Configuration is stored in /etc/pdns if you choose to use a data volume for the configuration.
Also support running a recursive name server using the recursor tag.
To run a simple authoritatvie DNS server:
docker run --name mydns -d -p 53:53/udp -p 53:53/tcp taosnet/pdns_server
If you want to enable the REST API, specify the APIKEY environment variable with the value that you want your key to be.
docker run --name mydns -d -p 53:53/udp -p 53:53/tcp -p 8081:8081 -e APIKEY=MYAPIKEY -e WEBKEY=MYWEBKEY taosnet/pdns_server
If you want to use a data volume for changes with the SQLite backend:
docker run --name mydns -d -p 53:53/udp -p 53:53/tcp -v mydns-db:/etc/pdns/db taosnet/pdns_server
To run a simple recursive DNS server:
docker run --name myrecdns -d -p 53:53/udp -p 53:53/tcp -e ALLOW=10.0.0.0/8 taosnet/pdns_server:recursor
The following variables are valid for both authoritative and recursive name servers.
Content type
Image
Digest
Size
6.9 MB
Last updated
about 7 years ago
docker pull taosnet/pdns_server