So I was following a tutorial to set up a DNS server and I mistyped some things and want to start over, so I end up deleting the /etc/bind folder, thinking that reinstalling bind9 will restore the original files.

Welp, I reinstalled bind9 and turns out these


weren't included in the install package.. is there anyway I can restore the files or download it atleast?

sudo apt-get -o DPkg::Options::="--force-confmiss" --reinstall install bind9
  • thank you so much ! i was worried no one would even bother to answer this. Thanks ! – Andi Aug 13 '16 at 17:14
  • yeah, it's kind of offtopic here... – Anubioz Aug 13 '16 at 17:16
  • btw do you have suggestion on where to ask questions like this? superuser/ubuntu forum ? – Andi Aug 13 '16 at 17:17
  • It's askubuntu.com. Actually I got answer from here – Anubioz Aug 13 '16 at 17:19
  • @Anubioz: Running a DNS server on Ubuntu in a professiona/business setting is very much on topic here (it's OT if in a home/hobby environment). It's often a bad idea to run your own DNS, but sometimes is it necessary. Ask Ubuntu generally is an Ubuntu-specific subset of Super User and Unix & Linux – Sven Aug 14 '16 at 12:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.