I need a DNS server in a test environment, so I am adding Bind to my notebook build. I first did: yum install bind rebooted yum update rebooted Now I see named as a service I can start. But when I go to /var/named to edit the files (btw, all I want to do at this point is to fake out a FQDN expected by a piece of gear), none exist. And I doubt that if I start named it would be properly chrooted (as it was on a server where I selected named as a service to install). So pointers? where do I go from here?
On 08/02/06, Robert Moskowitz <rgm at htt-consult.com> wrote:> I need a DNS server in a test environment, so I am adding Bind to my > notebook build. > > I first did: yum install bind > rebooted > yum update > rebooted > > Now I see named as a service I can start. > > But when I go to /var/named to edit the files (btw, all I want to do > at this point is to fake out a FQDN expected by a piece of gear), none exist. > > And I doubt that if I start named it would be properly chrooted (as > it was on a server where I selected named as a service to install). > > So pointers? > > where do I go from here?# yum grouplist | grep -i dns # yum groupinfo "DNS Name Server" Setting up Group Process Setting up repositories archive-rhel4-dag 100% |=========================| 1.1 kB 00:00 base 100% |=========================| 1.1 kB 00:00 update 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Group: DNS Name Server Required Groups: Base Mandatory Packages: bind Default Packages: caching-nameserver bind-chroot # yum groupinstall "DNS Name Server" Perhaps?
Robert Moskowitz wrote:> I need a DNS server in a test environment, so I am adding Bind to my > notebook build. > > I first did: yum install bind > rebooted > yum update > rebooted > > Now I see named as a service I can start. > > But when I go to /var/named to edit the files (btw, all I want to do > at this point is to fake out a FQDN expected by a piece of gear), > none exist. > > And I doubt that if I start named it would be properly chrooted (as > it was on a server where I selected named as a service to install). > > So pointers? > > where do I go from here?You could go here: http://www.isc.org/index.pl?/sw/bind/ -- Bowie
Jim Perrin wrote:> > http://www.isc.org/index.pl?/sw/bind/ > > This is not the best advice. This will mean that he's installing bind > built from source, which will not get him the updates, QA, patches etc > of the bind that ship with the distro. It also means that the system > has no record of the source install, and that he will have to update > by hand and follow the site on his own for updates etc. > > Sticking with the bind from centos is the best bet. The bind-chroot > does create a chroot'd bind environment, and works just fine. The > packages are QA'd and updates are available with minimal effort. > > Building from source that which is already provided by the > distribution is a BAD IDEA.I was simply suggesting that he check there for documentation. I had intended to link directly to the html docs, but apparently they framed them and I didn't notice. This is the link I was intending to provide: http://www.isc.org/sw/bind/arm93/index.php -- Bowie