I'm running Ubuntu 8.10 and I'm getting a host not found exception when I try to ssh to my svn repository server. But when I do nslookup / host / dig then the repository resolves just fine:
Code:
wessel@delgurth:~$ host svn.client.local
svn.client.local has address 172.16.0.81
wessel@delgurth:~$ ssh svn.client.local
ssh: Could not resolve hostname svn.client.local: Name or service not known
When I add client.local to the search domains in my /etc/resolv.conf and try "ssh svn" (without the client.local) it works just fine:
Code:
wessel@delgurth:~$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.90.152.200
nameserver 10.90.150.16
search management.local, client.local
wessel@delgurth:~$ ssh svn
<snip>security message etc</snip>
wessel@svn:/export/home/wessel>
I hope someone here has an idea what can be causing this. I'm not running my own name server nor using dnsmasq, so that can't be the problem. And svn nor svn.client.local are in my /etc/hosts:
Code:
wessel@delgurth:~$ cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 delgurth
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
I hope someone here knows what I should do to fix this.
Bookmarks