From owner-freebsd-questions Fri Aug 3 4:47:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dinjo.touchtunes.com (operator.touchtunes.com [216.94.139.201]) by hub.freebsd.org (Postfix) with ESMTP id DA4B537B401 for ; Fri, 3 Aug 2001 04:47:07 -0700 (PDT) (envelope-from dinjo@touchtunes.com) Received: (from dinjo@localhost) by dinjo.touchtunes.com (8.11.3/8.11.3) id f73Bkvd74194 for freebsd-questions@freebsd.org; Fri, 3 Aug 2001 07:46:57 -0400 (EDT) (envelope-from dinjo) Date: Fri, 3 Aug 2001 07:46:56 -0400 From: Joel Dinel To: freebsd-questions@freebsd.org Subject: DHCP and hosts Message-ID: <20010803074656.B74135@dinjo.touchtunes.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Useless-Header: Look ma, it's a # sign! X-Operating-System: FreeBSD 4.3-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Is there any way to have FreeBSD 4.X automagically update /etc/hosts when using a cable modem with DHCP? For example, I have box1.mydomain.com that gets its IP via DHCP. If I 'ping box1', I get 'ping: cannot resolve box1: Unknown host'. Surely enough, there's no entry in /etc/hosts for 'box1'. This is on a home PC that reboots quite often, and the IP lease is quite short, resulting in a lot of IP changes. Thanks! -- Joel Dinel TouchTunes Digital Jukebox, Inc. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message