Dealing with roaming machines

Nico Kadel-Garcia nkadel at
Fri Dec 26 03:43:51 EST 2014

> On Dec 23, 2014, at 15:04, martin f krafft <madduck at> wrote:
> also sprach Dan Kaminsky <dan at> [2014-12-23 20:52 +0100]:
>> That's a good point. DHCP allows you to set DNS search parameters. So as
>> long as each location sets different search, "ssh fishbowl" will in fact
>> resolve to the proper local FQDN.
> Yeah, and this works, but it's *not* what I want, because the
> machine is not reachable at the local FQDN; it is reachable at
> a remote location, so the (correct) DNS search setup is actually
> *preventing* me from accessing the machine without manual
> intervention.

Then it sounds like you really need to use the FQDN, or have a distinctive CNAME for each subdimain. The underlying C libraries for "gethostbyname" or similar, more modern lookups don't support what you're looking for.

> -- 
> @martinkrafft | |
> "politics is the entertainment branch of industry."
>                                                        -- frank zappa
> spamtraps: madduck.bogus at
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at

More information about the openssh-unix-dev mailing list