[K12OSN] OT: /etc/hosts autoupdate

Quentin Hartman qhartman at lane.k12.or.us
Tue May 30 19:35:37 UTC 2006

On Tue, 2006-05-30 at 14:42 -0400, Paul VanGundy wrote:
> All,
> Is there a way for /etc/hosts to be automatically updated when DHCP
> gives a lease to a client? So in /etc/hosts it will say something like
> this:
>    blah.sa456.k12.nh.us  blah
> After the computer "blah" requested a lease and DHCP acknowledged
> instead of the usual:
>    ws005.ltsp    ws005
>  Just curious. Thanks.

Depending what exactly you are trying to accomplish, It might be better
to do this via dynamic DNS. this will give you a good start:

-Quentin Hartman-

Technology Coordinator
South Lane School District
Cottage Grove, OR

More information about the K12OSN mailing list