From owner-freebsd-questions@FreeBSD.ORG Wed Jun 10 21:33:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52B181065670 for ; Wed, 10 Jun 2009 21:33:32 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (dc.cis.okstate.edu [139.78.103.93]) by mx1.freebsd.org (Postfix) with ESMTP id 241748FC18 for ; Wed, 10 Jun 2009 21:33:31 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by dc.cis.okstate.edu (8.14.2/8.13.8) with ESMTP id n5ALXJZV091416 for ; Wed, 10 Jun 2009 16:33:19 -0500 (CDT) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <200906102133.n5ALXJZV091416@dc.cis.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <91414.1244669599.1@dc.cis.okstate.edu> Date: Wed, 10 Jun 2009 16:33:19 -0500 From: Martin McCormick Subject: Re: Control-Z the Sleep Signal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 21:33:32 -0000 Mel Flynn writes: > If this is the sole purpose of the program, I would retire it if you're > using > ISC provided software for these services. rndc and omshell can do all of > this > using atomic operations. Information is gathered first, then sent in one > block > to the server, so even if two people try to modify/delete the same > record, the > one that comes first makes the change, and the second one is handled > according > to the new information. Quite true. The ISC software is wonderful but it doesn't deal with static bootP and even worse static IP addresses that have no bootP associated with them. We have tons of both. Dynamic DHCP isn't really a good solution for printers and servers. BootP is much more stable for them since nobody can bump them off. We have some departments on campus that are like herding cats in that there is always somebody hard-coding their IP address in to a DHCP lease, etc. We have other areas where people have had the same dynamic lease for literally years and think it is static. We usually set up a subnet about half dynamic and half static which works well for us. The program I wrote reads the dhcpd.conf file and blocks out the dynamic ranges so one can not assign a static entry in those ranges so it has grown to work with the ISC products. It reads the subnet mask, finds the dynamic ranges and then compares against the A records in DNS to quickly find the next free IP address. We use both bind and the ISC DHCP server and are very satisfied customers. When you use omshell to add a bootP entry, it inserts it as a clause in the dhcpd.leases file but you still must specify all the parameters yourself.