-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Brian Kendig wrote:
> If I've got a home network that's assigning addresses via DHCP, and it
> doesn't have any local DNS server on it, and every computer on the
> network has a hostname - can I connect from one computer to another by
> name?
no, unless you're you going to setup some another nameserver like WINS. Or
how about using mDNS[1] using Avahi[2].
> That is, if one computer is named 'foo' and the other is named 'bar',
> when I log on to 'foo' and type 'ssh bar', will that work?
>
> Or does DHCP not pay any attention to local hostnames, and I'll need
> to set up the computer names in a DNS server on my network?
Couple of DHCP servers support this feature known as DDNS which will update
dynamically update DNS server. To use this, client needs to send its
hostname, which DHCP server will add to the DNS server's zone. ISC 'dhcpd'
and 'bind' supports this. Also check out 'dnsmasq', but not sure if it
supports 'ddns'.
References:
[1] -
http://en.wikipedia.org/wiki/Zeroconf
[2] -
http://www.avahi.org/
HTH
- --
Ashish Shukla आशीष शुक्ल
http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHQgU8Hy+EEHYuXnQRAshmAJ9aRPuZsLhyZPmnQ3HXf3 Z7+tvW1wCaAzGl
eGSMe5ZGsqqhIfg/7z3fbwU=
=6Fup
-----END PGP SIGNATURE-----