From owner-freebsd-questions@FreeBSD.ORG Sat Sep 19 22:28:46 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 ECD8F106568B for ; Sat, 19 Sep 2009 22:28:46 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id A95A48FC15 for ; Sat, 19 Sep 2009 22:28:46 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1Mp8Q4-0006ba-SD for freebsd-questions@freebsd.org; Sun, 20 Sep 2009 00:28:40 +0200 Received: from pool-70-21-15-218.res.east.verizon.net ([70.21.15.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 00:28:40 +0200 Received: from nightrecon by pool-70-21-15-218.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 20 Sep 2009 00:28:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 19 Sep 2009 18:28:57 -0400 Lines: 43 Message-ID: References: <20090919200603.GA10036@teddy.fas.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-70-21-15-218.res.east.verizon.net Sender: news Subject: Re: Microsoft "Dynamic DNS" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 22:28:47 -0000 stan wrote: > I have a situation at work, where I need a FreeBSD machine to be in the > corporate DNS. We have been bought out, and the new owner says "no static > DNS entries". They use some Microsoft technogly where the client machiens > register thier names with the corprate DNS. In a correctly configured $MS environment the DHCP servers and DNS servers are twins of each other. The DHCP server is what actually updates the DNS server's database. > My Windows laptop for instance, may get different IP addresses using DHCP > depending on what physical location I connect it in. but it's always the > same DNS name. > > Can anyone sugest where to look for information as to how this works, and > how I cna make my FreeBSD machine participate in this? > I did this once a long time ago after googling for a quick fix, Not sure I remember everything. IIRC it was putting an empty hostname in /etc/rc.conf like: hostname="" and something like the following in /etc/dhclient.conf: interface "em0" { send host-name "workstation"; } In Windows, the hostname would be the "machine name", and since you know it's always the same (as per above) sounds like you know the hostname. Substitute for your interface and hostname. The way this should work is your box does a "force send hostname" to the DHCP server and the DHCP server should update the DNS server. At least if the $MS boxen are setup correctly. -Mike