Re: ssh on lan by hostname instead of dynamic ip
> I use unison and rsync on my home LAN. Everything works fine as long
> as I use ip addresses, for example,
> ssh email@example.com
> But my router (on home LAN) assigns dynamic ip addresses. So my
> scripts don't work if the router happens to assign a different address
> that day to one of my machines.
> Is there a way to use ssh and rsync using hostname instead of ip
> address. It seems to me I've had this working once or twice, but then
> it stops.
Not sure if dnsmasq might help - it can serve the names of local machines
which are not in the global DNS. I've looked at it but never actually used it