ssh do not resolve hostname

Bug #1267072 reported by Jörg Frings-Fürst
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openssh (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I got the error message:

####
ssh -pXXXX zaubermaus.home.local
ssh: Could not resolve hostname zaubermaus.home.local: Name or service not known
####

But dig reports:

####
dig zaubermaus.home.local

; <<>> DiG 9.9.3-rpz2+rl.13214.22-P2-Ubuntu-1:9.9.3.dfsg.P2-4ubuntu1 <<>> zaubermaus.home.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34318
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;zaubermaus.home.local. IN A

;; ANSWER SECTION:
zaubermaus.home.local. 604800 IN A 10.10.10.17

;; AUTHORITY SECTION:
home.local. 604800 IN NS neptun.home.local.

;; ADDITIONAL SECTION:
neptun.home.local. 604800 IN A 10.10.10.1

;; Query time: 2 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Wed Jan 08 12:35:28 CET 2014
;; MSG SIZE rcvd: 103

####

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: openssh-client 1:6.2p2-6ubuntu0.1
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Wed Jan 8 12:28:46 2014
InstallationDate: Installed on 2013-12-12 (26 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
ProcEnviron:
 LANGUAGE=de_DE
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
RelatedPackageVersions:
 ssh-askpass N/A
 libpam-ssh N/A
 keychain N/A
 ssh-askpass-gnome 1:6.2p2-6ubuntu0.1
SSHClientVersion: OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug.

Does 'ping zaubermaus.home.local' work?

Can you show the output of 'ssh -vvv zaubermaus.home.local' ?

Changed in openssh (Ubuntu):
status: New → Incomplete
Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Sorry,

.local is a TLD with special handling in bind.

After change .local to .loc all works fine

Jörg

Changed in openssh (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.