2018-02-17 14:36:28 +01:00
|
|
|
import ./make-test.nix ({ pkgs, ... }: {
|
|
|
|
name = "powerdns";
|
|
|
|
|
2018-07-20 22:56:59 +02:00
|
|
|
nodes.server = { ... }: {
|
2018-02-17 14:36:28 +01:00
|
|
|
services.powerdns.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
|
|
|
$server->waitForUnit("pdns");
|
|
|
|
$server->succeed("${pkgs.dnsutils}/bin/dig version.bind txt chaos \@127.0.0.1");
|
|
|
|
'';
|
|
|
|
})
|