init commit
This commit is contained in:
commit
181e6f681e
22 changed files with 940 additions and 0 deletions
25
pkgs/powerdns.nix
Normal file
25
pkgs/powerdns.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ ... }:
|
||||
|
||||
let
|
||||
domain = "hexname.com";
|
||||
in
|
||||
{
|
||||
services.powerdns = {
|
||||
enable = true
|
||||
|
||||
# To hash the api-key, use:
|
||||
# $ pdnsutil hash-password
|
||||
extraConfig = ''
|
||||
api=true
|
||||
api-key=
|
||||
primary=yes
|
||||
webserver-address=127.0.0.1
|
||||
webserver-port=8081
|
||||
local-address=0.0.0.0:53
|
||||
webserver-allow-from=127.0.0.1/32
|
||||
version-string=anonymous
|
||||
default-ttl=1500
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue