about summary refs log tree commit diff
path: root/nixos/tests/pdns-recursor.nix
blob: bf6e6093d69c502198d46200198640ebed940823 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import ./make-test.nix ({ pkgs, ... }: {
  name = "powerdns";

  nodes.server = { ... }: {
    services.pdns-recursor.enable = true;
  };

  testScript = ''
    $server->waitForUnit("pdns-recursor");
    $server->waitForOpenPort("53");
  '';
})