Added instructions for obtaining root.hints to post_install script
authorHarvie <tomas@mudrunka.cz>
Fri, 6 Aug 2010 02:11:30 +0000 (04:11 +0200)
committerHarvie <tomas@mudrunka.cz>
Fri, 6 Aug 2010 02:11:30 +0000 (04:11 +0200)
dnssec-tools/dnssec-tools.install

index 34658ce9dddfbde9f37140f8aeb1f74693bcb44d..30cc419239f63c4427966cac71cd30b7f90cafd3 100644 (file)
@@ -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
 }
 
This page took 0.127214 seconds and 4 git commands to generate.