1 import ./make-test-python.nix ({ lib, ...} : {
4 maintainers = with lib.maintainers; [ basvandijk ];
7 nameserver = { config, lib, ... } : let
8 ip = (lib.head config.networking.interfaces.eth1.ipv4.addresses).address;
10 networking.nameservers = [ ip ];
16 +.bla.foo.bar:1.2.3.4:300
23 nameserver.wait_for_unit("tinydns.service")
25 # We query tinydns a few times to trigger the bug:
27 # nameserver # [ 6.105872] mmap: tinydns (842): VmData 331776 exceed data ulimit 300000. Update limits or use boot option ignore_rlimit_data.
29 # which was reported in https://github.com/NixOS/nixpkgs/issues/119066.
30 # Without the patch <nixpkgs/pkgs/tools/networking/djbdns/softlimit.patch>
31 # it fails on the 10th iteration.
35 host bla.foo.bar 192.168.1.1 | grep '1\.2\.3\.4'