Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Hi David, Thanks for your responses. I'm going to try to your questions and points all in this one post so it's easier to comprehend. Regarding the 'local' name, i don't know how it came into being (or whether it was deliberate on anybody's part). I sure don't think i created it. Thanks for po

Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sun 17 Apr 2016 at 09:42:38 (-0700), Dan Hitt wrote: > If there's a way to determine if i'm running mDNS on my main linux > machine i'm certainly interested, but i don't want to be too greedy about > this. > Because, after all, maybe it is reasonable that if my main linux > machine is sending a

Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sat 16 Apr 2016 at 23:56:11 (-0700), Dan Hitt wrote: > On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith wrote: > > ".local" TLD is kind of special so you may find problems anyway - > > it's used for multicast DNS (Avahi). You may be better off picking a > > different domain for your local network.

Re: searching for hosts in domain local

2016-04-17 Thread David Wright
On Sat 16 Apr 2016 at 22:14:29 (-0700), Dan Hitt wrote: > In my local network, the machines generally know each other by names like > first_host.local > second_host.local > third_host.local > ... > > So if i'm on first_host, i can ssh to second_host with > ssh my_account@second

Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Andy --- thanks for all your help in diagnosing my situation and educating me! This includes facts like the nature of these names (second_host was indeed an example, did not know about the restriction on the names) and use of dig. I did some more experimentation on my system, and in fact my other

Re: searching for hosts in domain local

2016-04-17 Thread Dan Hitt
Thanks Andy for your suggestions --- some answers and questions interspersed below: On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith wrote: > Hi Dan, > > On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote: >> I would like to drop the '.local' because it's an extra six characters >> with absolut

Re: searching for hosts in domain local

2016-04-17 Thread Andy Smith
Hi Dan, On Sat, Apr 16, 2016 at 11:56:11PM -0700, Dan Hitt wrote: > On Sat, Apr 16, 2016 at 10:42 PM, Andy Smith wrote: > > What doesn't work about it? > > It has no effect. > > So, if i do > ping second_host > i get "unknown host" from ping. OK. So all the hosts on your local network are

Re: searching for hosts in domain local

2016-04-16 Thread Andy Smith
Hi Dan, On Sat, Apr 16, 2016 at 10:14:29PM -0700, Dan Hitt wrote: > I would like to drop the '.local' because it's an extra six characters > with absolutely no value. > > In principle, i think it should be possible to by just adding > search local > to my /etc/resolv.conf, but this absolutel

searching for hosts in domain local

2016-04-16 Thread Dan Hitt
In my local network, the machines generally know each other by names like first_host.local second_host.local third_host.local ... So if i'm on first_host, i can ssh to second_host with ssh my_account@second_host.local and i can ping second_host by ping second_host.local I