Peter Klein wrote:
> Never mind, dhcp does that automatically. Setting up DDNS is all that
> was needed and I can now do "ping windows-client" from any computer on
> the network.
If your existing DDNS setup is working, this won't be important to you,
but I thought I'd post in case anybody else is interested....
Two other possible approaches to doing this, or something that might be as
good, are:
1) Set up a Samba system to handle NBNS (aka WINS) duties and use the
"wins hook" parameter in smb.conf to call a script called dns_update
that ships with Samba (at least 2.0.x and 3.0.x; it seems to be missing
from at least some 2.2.x releases). Set up the DNS server to accept
dynamic updates. The result is that the Samba NBNS system will notify
the DNS server of NetBIOS names as they're registered and un-registered
by the clients. This is a bit tedious to set up, but is at least
potentially handy.
2) On Linux systems that should be able to contact systems that have
registered NetBIOS names, edit the /etc/nsswitch.conf file and add
"wins" to the end of the "hosts:" line. This adds support for NetBIOS
name resolution to the normal Linux name resolution system (which
usually handles resolution via /etc/hosts, NIS, and DNS). This won't
help systems on the Internet at large to contact your systems, though,
or for that matter any systems you don't modify in this way. It's a
quick and easy solution if you just want a few Linux boxes to be able
to address Windows systems (or even other Linux systems, if they run
Samba) by NetBIOS name.
--
Rod Smith,
(E-Mail Removed)
http://www.rodsbooks.com
Author of books on Linux, FreeBSD, and networking