On 11/10/15 16:43, Alan McKinnon wrote: > On 11/10/2015 10:18, J. Roeleveld wrote: >> On Sunday, October 11, 2015 09:35:39 AM Alan McKinnon wrote: >>> On 11/10/2015 04:13, James wrote: >>>> Howdy, >>>> >>>> So I now have (5) statics and a fiber feed, with lots of room to grow. >>>> >>>> I need to setup DNS primary/secondary systems on gentoo. So right now I'm >>>> looking for a suggested list of packages to install with Bind, iptables >>>> and >>>> DNSSEC-tools as these (2) gentoo dns servers will only run the minimum >>>> packages to operate securely? >>> >>> auth or cache? >>> >>> First of all, bind is a pain to use. Reason: it's actually a reference >>> implementation that as usual got forced into production use. It's slower >>> than it could be because it deals with every possible corner case per RFC. >>> >>> As an auth server (few queries) it's OK >>> As a cache (many queries), there are better servers out there. I prefer >>> unbound. >> >> As it is related to this thread, which server would people recommend when >> the >> DNS records are to be found in a database? >> Reason I am asking: >> I want to set up a lab environment with VMs coming and going. >> These all need to have hostname/mac/ip stored and configured correctly. > > I don't understand. > > mac & IP go together in dhcp and arp > hostname & IP go together in DNS & /etc/hosts > > hostname & mac & ip go together nowhere > > >> Till now, I basically preconfigured Bind and DHCPd for a bunch of them. >> I would prefer to be able to specify a hostname for this, but writing >> something that keeps changing the configuration and keeping it in-sync with >> a >> database is a bit overkill. > > arp updates when the host comes on-line > dhcp & dns are separate from individual VMs, populating those services > is part of provisioning them. > > Perhaps detail more what you are trying to accomplish? > >
ISC dhcpd can update bind when a host requests an IP. One of many examples "http://askubuntu.com/questions/162265/how-to-setup-dhcp-server-and-dynamic-dns-with-bind" BillK