Domain name suffix woes

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

 



Example problem -
We have a domain with following DNS records

330.domain.com CNAME 330.blah.domain.com
330.blah.domain.com A 10.0.1.2

foo.domain.com A 10.0.2.2

Now, when I set `search domain.com` in /etc/resolv.conf, I can use SSH to
connect to foo like this

`ssh user@foo`

and I can connect to the 330 A record like this

`ssh user@xxxxxxxx`

However I cannot connect to the 330.domain.com via

`ssh user@330` - That gets me an error:
ssh: connect to host 330 port 22: Invalid argument

I'm assuming that when the hostname is pure number, it ignores domain
suffix. As just a number cannot be an actual IP, could this behavior be
fixed in OpenSSH?

Thanks, Martin
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



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

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux