Skip to content

Powerdns admin

services.powerdns-admin.config

Configuration python file. See the example configuration for options.

Type: string

Default

""

Example

'' BIND_ADDRESS = '127.0.0.1' PORT = 8000 SQLALCHEMY_DATABASE_URI = 'postgresql://powerdnsadmin@/powerdnsadmin?host=/run/postgresql'''

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/powerdns-admin.nix

services.powerdns-admin.enable

Whether to enable the PowerDNS web interface. Type: boolean

Default

false

Example

true

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/powerdns-admin.nix

services.powerdns-admin.extraArgs

Extra arguments passed to powerdns-admin.

Type: list of string

Default

[ ]

Example

[ "-b" "127.0.0.1:8000" ]

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/powerdns-admin.nix

services.powerdns-admin.saltFile

The salt used for serialization. This should be set, otherwise the default is used. Set this to null to ignore this setting and configure it through another way.

Type: null or path

Example

"/etc/powerdns-admin/salt"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/powerdns-admin.nix

services.powerdns-admin.secretKeyFile

The secret used to create cookies. This needs to be set, otherwise the default is used and everyone can forge valid login cookies. Set this to null to ignore this setting and configure it through another way.

Type: null or path

Example

"/etc/powerdns-admin/secret"

Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/web-apps/powerdns-admin.nix