Results 1 to 2 of 2
Folks,
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 ...
- 07-29-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 18
Bind9 install - Some not so obvious tips
Folks,
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:
ROOTDIR="/var/named/chroot/"
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:
nameserver 127.0.0.1
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:
DNS1=127.0.0.1
DNS2=xx.xx.xx.xx
Hope these tips help when you are building your DNS server.
Regards,
Peter
- 07-30-2009 #2


Reply With Quote

