You have been subscribed to a public bug:

ping: unknown host intermittent, will work by name sometimes but not
others. I don't have a dns lookup issue as other machines can ping at
all times. Ping will work fine for some time then will suddenly stop. A
few minutes later it will start working again at all times I am able to
ping via ip address.

I am using both avahi (for ios devices airplay) and ipv6 on this host.
My dns  is being provided by a router via DHCP that is always able to
ping by hostname and never seems to have this issue, my windows machines
never have this problem, again they are being served via DHCP from the
same router. I am not sure how to find the root cause of this..

"Good result", ping working (removed few statistics lines)

+ date
Thu Aug 30 12:02:26 EST 2012
+ ping -c 1 wndr3700.home.int
PING wndr3700.home.int (192.168.1.1) 56(84) bytes of data.
64 bytes from wndr3700.home.int (192.168.1.1): icmp_req=1 ttl=64 time=0.247 ms
+ ping -c 1 wndr3700
PING wndr3700.home.int (192.168.1.1) 56(84) bytes of data.
64 bytes from wndr3700.home.int (192.168.1.1): icmp_req=1 ttl=64 time=0.193 ms
+ ping -c 1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=0.194 ms
+ dig wndr3700
; <<>> DiG 9.8.1-P1 <<>> wndr3700
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37847
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;wndr3700.              IN      A

;; ANSWER SECTION:
wndr3700.          0    IN      A       192.168.1.1

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Aug 30 12:02:26 2012
;; MSG SIZE  rcvd: 42

+ ping -c 1 www.google.com
PING www.l.google.com (74.125.237.115) 56(84) bytes of data.
64 bytes from syd01s12-in-f19.1e100.net (74.125.237.115): icmp_req=1 ttl=54 
time=33.1 ms
--- www.l.google.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
+ ping -c 1 74.125.237.112
PING 74.125.237.112 (74.125.237.112) 56(84) bytes of data.
64 bytes from 74.125.237.112: icmp_req=1 ttl=54 time=34.4 ms
+ dig www.google.com

; <<>> DiG 9.8.1-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 21787
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;www.google.com.                IN      A

;; ANSWER SECTION:
www.google.com.    11069        IN      CNAME   www.l.google.com.
www.l.google.com.  272  IN      A       74.125.237.114
www.l.google.com.  272  IN      A       74.125.237.113
www.l.google.com.  272  IN      A       74.125.237.112
www.l.google.com.  272  IN      A       74.125.237.116
www.l.google.com.  272  IN      A       74.125.237.115

;; Query time: 21 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Aug 30 12:02:26 2012
;; MSG SIZE  rcvd: 142
+ ping6 -c 1 ipv6.google.com
PING ipv6.google.com(2404:6800:4006:803::1013) 56 data bytes
64 bytes from 2404:6800:4006:803::1013: icmp_seq=1 ttl=55 time=33.5 ms
+ ping6 -c 1 2404:6800:4006:803::1013
PING 2404:6800:4006:803::1013(2404:6800:4006:803::1013) 56 data bytes
64 bytes from 2404:6800:4006:803::1013: icmp_seq=1 ttl=54 time=33.3 ms

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 192.168.1.1
search home.int

cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat
hosts:          files mdns4_minimal dns [NOTFOUND=return] mdns4
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
netgroup:       nis

 "Bad result" ping no longer working (10 mins later..)

+ date
Thu Aug 30 12:13:27 EST 2012
+ ping -c 1 wndr3700.home.int
ping: unknown host wndr3700.home.int
+ ping -c 1 wndr3700
ping: unknown host wndr3700
+ ping -c 1 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_req=1 ttl=64 time=0.312 ms

+ dig wndr3700

; <<>> DiG 9.8.1-P1 <<>> wndr3700
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11476
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;wndr3700.              IN      A

;; ANSWER SECTION:
wndr3700.          0    IN      A       192.168.1.1

;; Query time: 0 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Aug 30 12:13:28 2012
;; MSG SIZE  rcvd: 42

+ ping -c 1 www.google.com
ping: unknown host www.google.com
+ ping -c 1 74.125.237.112
PING 74.125.237.112 (74.125.237.112) 56(84) bytes of data.
64 bytes from 74.125.237.112: icmp_req=1 ttl=53 time=33.6 ms
+ dig www.google.com

; <<>> DiG 9.8.1-P1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5222
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;www.google.com.                IN      A

;; ANSWER SECTION:
www.google.com.    10407        IN      CNAME   www.l.google.com.
www.l.google.com.  210  IN      A       74.125.237.114
www.l.google.com.  210  IN      A       74.125.237.115
www.l.google.com.  210  IN      A       74.125.237.116
www.l.google.com.  210  IN      A       74.125.237.112
www.l.google.com.  210  IN      A       74.125.237.113

;; AUTHORITY SECTION:
google.com.        10407        IN      NS      ns4.google.com.
google.com.        10407        IN      NS      ns1.google.com.
google.com.        10407        IN      NS      ns2.google.com.
google.com.        10407        IN      NS      ns3.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.    10548        IN      A       216.239.32.10
ns2.google.com.    4507 IN      A       216.239.34.10
ns3.google.com.    10535        IN      A       216.239.36.10
ns4.google.com.    10553        IN      A       216.239.38.10

;; Query time: 23 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Aug 30 12:13:29 2012
;; MSG SIZE  rcvd: 268

+ ping6 -c 1 ipv6.google.com
unknown host
+ ping6 -c 1 2404:6800:4006:803::1013
PING 2404:6800:4006:803::1013(2404:6800:4006:803::1013) 56 data bytes
64 bytes from 2404:6800:4006:803::1013: icmp_seq=1 ttl=54 time=33.0 ms

** Affects: network-manager (Ubuntu)
     Importance: Undecided
         Status: Invalid

-- 
ping: unknown host intermittent
https://bugs.launchpad.net/bugs/1043599
You received this bug notification because you are a member of Desktop 
Packages, which is subscribed to network-manager in Ubuntu.

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to