From: Harvie Date: Fri, 6 Aug 2010 02:11:30 +0000 (+0200) Subject: Added instructions for obtaining root.hints to post_install script X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=22cc399963cbf8eaf28071d7f9fb842e9b6d1da2;p=mirrors%2FArchLinux-Packages.git Added instructions for obtaining root.hints to post_install script --- diff --git a/dnssec-tools/dnssec-tools.install b/dnssec-tools/dnssec-tools.install index 34658ce..30cc419 100644 --- a/dnssec-tools/dnssec-tools.install +++ b/dnssec-tools/dnssec-tools.install @@ -1,8 +1,10 @@ # arg 1: the new package version post_install() { echo 'Generating default config file if not exists...' - while echo; do true; done 2>/dev/null | dtinitconf >/dev/null + echo $(while echo; do true; done 2>/dev/null | { dtinitconf >/dev/null; } 2>&1) touch /etc/dnssec-tools/dnsval.conf.{head,tail} + echo 'Please run following command as root in case of resolver problems:' + echo -e '\tdig @e.root-servers.net . ns > /etc/dnssec-tools/root.hints' return 0 }