HOSTNAME from DNS name server

Smoot Carl-Mitchell smoot at tic.com
Tue Jun 30 00:29:36 UTC 2009


On Tue, 2009-06-30 at 09:22 +1000, Karl Auer wrote:
> On Mon, 2009-06-29 at 16:50 +0200, Pieter Donche wrote:
> > > An alternative might be to set the hostname locally based on information
> > > already in the DNS.
> 
> I've had a closer look at dhclient-script, and it looks like it will set
> the hostname for you *anyway* - you just have to make sure that there is
> no hostname already set. That is, it will not override an existing
> hostname.

You could always write your own "hook" script to get your desired
result.  See dhclient-script for the gory details.

-- 
Smoot Carl-Mitchell
Computer Systems and
Network Consultant
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005




More information about the ubuntu-users mailing list