diff options
Diffstat (limited to 'nixpkgs/nixos/tests/pdns-recursor.nix')
-rw-r--r-- | nixpkgs/nixos/tests/pdns-recursor.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/nixpkgs/nixos/tests/pdns-recursor.nix b/nixpkgs/nixos/tests/pdns-recursor.nix new file mode 100644 index 000000000000..bf6e6093d69c --- /dev/null +++ b/nixpkgs/nixos/tests/pdns-recursor.nix @@ -0,0 +1,12 @@ +import ./make-test.nix ({ pkgs, ... }: { + name = "powerdns"; + + nodes.server = { ... }: { + services.pdns-recursor.enable = true; + }; + + testScript = '' + $server->waitForUnit("pdns-recursor"); + $server->waitForOpenPort("53"); + ''; +}) |