blob: be78702809ef6d09129edf18a58ff61049573c61 (
plain) (
tree)
|
|
# Performs simple (local-only) validity checks on DNS zones.
{ depot, pkgs, ... }:
let
inherit (depot.nix.utils)
drvTargets
;
checkZone = zone: file: pkgs.runCommandNoCC "${zone}-check" {} ''
${pkgs.bind}/bin/named-checkzone -i local ${zone} ${file} | tee $out
'';
in drvTargets {
tvl-fyi = checkZone "tvl.fyi" ./tvl.fyi.zone;
tvl-su = checkZone "tvl.su" ./tvl.su.zone;
}
|