3
0
Fork 0
forked from mirrors/nixpkgs

dns-root-data: use a stable URL that I maintain anyway

Close #31855.
This commit is contained in:
Vladimír Čunát 2017-11-20 13:50:26 +01:00
parent b632fb9eb2
commit d16b298d19
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -3,7 +3,13 @@
let
rootHints = fetchurl {
url = "https://www.internic.net/domain/named.root";
# Original source https://www.internic.net/domain/named.root
# occasionally suffers from pointless hash changes,
# and having stable sources for older versions has advantages, too.
urls = map (prefix: prefix + "cc5e14a264912/etc/root.hints") [
"https://gitlab.labs.nic.cz/knot/knot-resolver/raw/"
"https://raw.githubusercontent.com/CZ-NIC/knot-resolver/"
];
sha256 = "0vdrff4l8s8grif52dnh091s8qydhh88k25zqd9rj66sf1qwcwxl";
};
@ -24,6 +30,6 @@ stdenv.mkDerivation {
meta = with lib; {
description = "DNS root data including root zone and DNSSEC key";
maintainers = with maintainers; [ fpletz ];
maintainers = with maintainers; [ fpletz vcunat ];
};
}