From owner-freebsd-questions@FreeBSD.ORG Mon Jun 5 13:06:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71C3416ADAD for ; Mon, 5 Jun 2006 13:06:28 +0000 (UTC) (envelope-from bcook@poklib.org) Received: from c.mx.poklib.org (c.mx.poklib.org [64.72.87.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9589943D72 for ; Mon, 5 Jun 2006 13:06:24 +0000 (GMT) (envelope-from bcook@poklib.org) Received: from [192.168.1.249] (helo=mail.poklib.org) by c.mx.poklib.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.60; FreeBSD) (envelope-from ) id 1FnEml-000AzL-Mx for freebsd-questions@freebsd.org ; Mon, 05 Jun 2006 09:06:23 -0400 Received: from [192.168.1.218] by mail.poklib.org with esmtp (Exim 4.60; FreeBSD) (envelope-from ) id 1FnEml-000GNm-Ek for freebsd-questions@freebsd.org ; Mon, 05 Jun 2006 09:06:23 -0400 Message-ID: <44842C4F.9080900@poklib.org> Date: Mon, 05 Jun 2006 09:06:23 -0400 From: "B. Cook" Organization: Network Administrator - Adriance Memorial Library User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-RcvHost: [192.168.1.218] X-RcvFor: X-Auth-Id: X-AntiVirus: No Virus Found X-MIME-Character-set: ISO-8859-1 Subject: dhcpd.leases not getting populated.. 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: Mon, 05 Jun 2006 13:06:38 -0000 Hello all, I have about 8 isc-dhcpd3-server installs out there and they all do everything they are supposed to.. all but one. And of course it's the most complex of them all, (as compared to the rest) I have a subnet defined with two pools inside. The top pool is set to deny unknown clients; and the bottom pool is set to allow unknown clients;. The problem is that the 'bottom' pool (allow unknow) is the only pool that gets logged to /var/db/dhcpd/dhcpd.leases. These are my startup options: # dhcpd #dhcpd_flags="-q" # command option(s) dhcpd_enable="YES" # dhcpd enabled? dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="fxp0" # ethernet interface(s) dhcpd_umask="022" # file creation mask dhcpd_chuser_enable="YES" # runs w/o privileges? dhcpd_withuser="dhcpd" # user name to run as dhcpd_withgroup="dhcpd" # group name to run as and my build prefs: [/var/db/ports]# 42 > cat isc-dhcp3-server/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for isc-dhcp3-server-3.0.4_2 _OPTIONS_READ=isc-dhcp3-server-3.0.4_2 WITH_DHCP_PARANOIA=true WITHOUT_DHCP_JAIL=true WITHOUT_DHCP_SOCKETS=true WITHOUT_DHCP_LDAP=true WITHOUT_DHCP_LDAP_SSL=true WITH_OPENSSL_BASE=true WITHOUT_OPENSSL_PORT=true WITHOUT_DHCP_LQ=true what I am trying to do is to use dnsmasq with the "-l /var/db/dhcpd/dhcpd.leases" option to read the leases file and assign hostnames in dns.. Obviously if I switch the pools the functionality will not be the same.. as allow unknown will be first and everyone will go there :| We use this range for testing new machines and setting up new machines.. Any help is appreciated. - Brian