mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
13 lines
294 B
Nix
13 lines
294 B
Nix
import ./make-test.nix ({ pkgs, lib, ... }: {
|
|
name = "powerdns";
|
|
|
|
nodes.server = { ... }: {
|
|
services.pdns-recursor.enable = true;
|
|
};
|
|
|
|
testScript = ''
|
|
$server->waitForUnit("pdns-recursor");
|
|
$server->succeed("echo | ${lib.getBin pkgs.netcat}/bin/nc -v localhost 53")
|
|
'';
|
|
})
|