Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Aug 2001 07:46:56 -0400
From:      Joel Dinel <dinjo@touchtunes.com>
To:        freebsd-questions@freebsd.org
Subject:   DHCP and hosts
Message-ID:  <20010803074656.B74135@dinjo.touchtunes.com>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010803074656.B74135>