[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh on lan by hostname instead of dynamic ip

BartlebyScrivener wrote:
> Hello,
> I use unison and rsync on my home LAN. Everything works fine as long
> as I use ip addresses, for example,
> ssh rick@
> 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[1] 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

[1] http://www.thekelleys.org.uk/dnsmasq/doc.html


Reply to: