From 22cc399963cbf8eaf28071d7f9fb842e9b6d1da2 Mon Sep 17 00:00:00 2001 From: Harvie Date: Fri, 6 Aug 2010 04:11:30 +0200 Subject: [PATCH] Added instructions for obtaining root.hints to post_install script --- dnssec-tools/dnssec-tools.install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- 2.30.2