Bind9 install - Some not so obvious tips
For the past three days, I was running into a problem installing bind on Fedora 11. It turns out it was related to the Linksys router that I was using:-(. However, I did get to learn a few things about Bind9 that are not that obvious. Thought I will pass this along for others.
1. Get bind-chroot and NOT bind
It seems the newer versions of Linux encourage bind-chroot. I was doing "yum install bind" until I came across a post that mentiond "yum install bind-chroot."
2. Specify ROOTDIR in named
Bind-Chroot install will create the directory structure /var/named/chroot. However, you still need to edit /etc/init.d/named and add the following:
Strangely, this is not mentioned anywhere on the Internet.
3. Don't modify /etc/resolv.conf
All the docs say that you must modify /etc/resolv.conf and add the following:
The problem is, under Fedora, NetworkManager recreates this file each time the box is rebooted. If you really want to preserve your info in between the boots,
either disable NetworkManager or modify /etc/sysconfig/network-scripts/ifcfg-eth0 and add:
Hope these tips help when you are building your DNS server.