From owner-freebsd-questions@FreeBSD.ORG Sat Sep 29 01:32:47 2007 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 3969916A418 for ; Sat, 29 Sep 2007 01:32:47 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.freebsd.org (Postfix) with ESMTP id 102F113C45D for ; Sat, 29 Sep 2007 01:32:46 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: (qmail 16009 invoked from network); 29 Sep 2007 01:32:46 -0000 Received: from dsl081-173-150.sea1.dsl.speakeasy.net (HELO dv6000) ([64.81.173.150]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 29 Sep 2007 01:32:46 -0000 Received: from dv6000 (localhost [127.0.0.1]) by dv6000 (8.14.1/8.14.1) with ESMTP id l8T1WjlK002993; Fri, 28 Sep 2007 18:32:45 -0700 (PDT) (envelope-from tomdean@dv6000) Received: (from tomdean@localhost) by dv6000 (8.14.1/8.14.1/Submit) id l8T1WjJp002990; Fri, 28 Sep 2007 18:32:45 -0700 (PDT) (envelope-from tomdean) Date: Fri, 28 Sep 2007 18:32:45 -0700 (PDT) Message-Id: <200709290132.l8T1WjJp002990@dv6000> From: "Thomas D. Dean" To: derek@computinginnovations.com In-reply-to: <6.0.0.22.2.20070928182110.02560a00@mail.computinginnovations.com> (message from Derek Ragona on Fri, 28 Sep 2007 18:24:08 -0500) References: <200709281848.l8SImkef001438@dv6000> <6.0.0.22.2.20070928182110.02560a00@mail.computinginnovations.com> Cc: freebsd-questions@freebsd.org Subject: Re: DHCP and DNS 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: Sat, 29 Sep 2007 01:32:47 -0000 > You need to add the hostname dv6000 entry to hosts, or create your own zone > files and run bind. As these are private IP's you need either to update > hosts or run DNS. You may find it easier to give servers static private > IP's that way you are assured your hosts entries or DNS entries are correct. AHA! where is my head? All the FreeBSD machines run samba. # nmblookup asus fueno dv6000 hp_pavillion nat-valid-name \ | sed -e '/^query/d' -e '/name.*failed/d' -e 's/<00>//' 192.168.2.6 asus 192.168.2.3 fueno 192.168.2.5 dv6000 192.168.2.4 hp_pavillion and, put this in /etc/hosts, periodically. Then, all I need to know is the names of the machines, which I can put on one machine and copy it to others. Any other ideas? tomdean