[nzlug] assign host name to computer

Daniel Pittman daniel at rimspace.net
Mon Mar 5 13:37:13 NZDT 2007


Robin Sheat <robin at kallisti.net.nz> writes:
> On Monday 05 March 2007 12:54, Michal Ludvig wrote:
>
>> a) configure your system to send the hostname from #1 above in the DHCP
>> request and let the DHCP server update DNS, or
>
> For some reason, Linux doesn't do this by default. How do you make it
> do that, anyone know (Ubuntu in particular, but I'm sure I could work
> it out from any description)?

Edit /etc/dhcp3/dhcpd.conf, change 'ddns-update-style' as appropriate.

There are a handful of related options, WRT keying, that you want to
check.  See dhcpd.conf(5) for the details; search for 'ddns'

You need to have configured bind to accept the appropriate connections,
of course, but that isn't all that difficult.

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/



More information about the NZLUG mailing list