nixpkgs/nixos/tests/pdns-recursor.nix

13 lines
245 B
Nix
Raw Normal View History

import ./make-test.nix ({ pkgs, ... }: {
2019-04-04 18:38:56 +00:00
name = "powerdns";
nodes.server = { ... }: {
services.pdns-recursor.enable = true;
};
testScript = ''
$server->waitForUnit("pdns-recursor");
$server->waitForOpenPort("53");
2019-04-04 18:38:56 +00:00
'';
})