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






                                         

                                         

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

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

  testScript = ''
    server.wait_for_unit("pdns-recursor")
    server.wait_for_open_port("53")
  '';
})