2019-11-08 08:18:37 -08:00
|
|
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
2018-02-17 05:36:28 -08:00
|
|
|
name = "powerdns";
|
|
|
|
|
2018-07-20 13:56:59 -07:00
|
|
|
nodes.server = { ... }: {
|
2018-02-17 05:36:28 -08:00
|
|
|
services.powerdns.enable = true;
|
2019-11-08 08:18:37 -08:00
|
|
|
environment.systemPackages = [ pkgs.dnsutils ];
|
2018-02-17 05:36:28 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
testScript = ''
|
2019-11-08 08:18:37 -08:00
|
|
|
server.wait_for_unit("pdns")
|
|
|
|
server.succeed("dig version.bind txt chaos \@127.0.0.1")
|
2018-02-17 05:36:28 -08:00
|
|
|
'';
|
|
|
|
})
|