summary refs log blame commit diff
path: root/nixos/tests/pdns-recursor.nix
blob: bf6e6093d69c502198d46200198640ebed940823 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                        







                                          
                                   

     
import ./make-test.nix ({ pkgs, ... }: {
  name = "powerdns";

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

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