Bram van Gessel wrote:
> Hello,
>
> On a server computer I installed the DHCP server DHCPd and a DNS server BIND
> which are both working fine.
> When a client requests an ip-address I want that its hostname is
> automatically associated with this ip-address, so I can use the same name
> for the same computer every time, even if it hasn't got the same ip-address
> all the time.
> Can anyone help me with this?
>
> I'm using Redhat 8.0 on the server and various kinds of windows on the
> clients.
>
> Thanks in advance,
You can setup an internal only DNS server, and have your DHCP update bind. For
info on how to do this, see this page:
http://www.mattfoster.clara.co.uk/ddns.htm Its pretty easy to understand, and
shoudl tell you everything you need to know.
For more info on how to setup bind (aka named) see:
http://www.tldp.org/HOWTO/DNS-HOWTO.html
For more info on how to setup dhcp see:
http://www.tldp.org/HOWTO/mini/DHCP/index.html
I'm running bind 9, and dhcpd 3.0p11.
If you have win2k or xp clients, make sure that Register this connections
addresses in DNS is checked. You can find that under the the Advanced TCP/IP
properties, on the DNS tab (in xp). I don't think i had to make any changes to
linux clients for them to update dns. Although i'm not sure you need that
option set for windows either :-)
Hope that helps..
Andy