Strange resolver behavior in oneiric

Asked by Gustavo Berman

Recently installed 11.10, fresh install.

/etc/resolv.conf is configured ok:
cat /etc/resolv.conf
# Generated by NetworkManager
domain cabib.local
search cabib.local
nameserver 10.73.2.102
nameserver 10.73.2.101
nameserver 10.73.2.100

I do a:

dig cabtes7.cabib.local

; <<>> DiG 9.7.3 <<>> cabtes7.cabib.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30126
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;cabtes7.cabib.local. IN A

;; ANSWER SECTION:
cabtes7.cabib.local. 3600 IN A 10.73.16.22

;; Query time: 9 msec
;; SERVER: 10.73.2.102#53(10.73.2.102)
;; WHEN: Fri Oct 21 15:14:45 2011
;; MSG SIZE rcvd: 53

The response is ok.

But if I try to ssh or ping I cannot resolv!

ssh <email address hidden>
ssh: Could not resolve hostname cabtes7.cabib.local: Name or service not known

ping cabtes7.cabib.local
ping: unknown host cabtes7.cabib.local

If I ssh or ping using IP address, the response is ok:

ping 10.73.16.22
PING 10.73.16.22 (10.73.16.22) 56(84) bytes of data.
64 bytes from 10.73.16.22: icmp_req=1 ttl=62 time=2.46 ms
64 bytes from 10.73.16.22: icmp_req=2 ttl=62 time=1.87 ms
^C
--- 10.73.16.22 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 1.879/2.171/2.463/0.292 ms

ssh root@10.73.16.22
root@10.73.16.22's password:
Last login: Fri Oct 21 09:50:17 2011 from 10.73.25.210
Rocks 5.4 (Maverick)
Profile built 12:07 20-Oct-2011

Kickstarted 09:59 20-Oct-2011
[root@cabtes7 ~]#

Any ideas?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Could add the resolution in /etc/hosts I guess. SSHing as root isn't hugely wise

Can you help with this problem?

Provide an answer of your own, or ask Gustavo Berman for more information if necessary.

To post a message you must log in.