Google Public DNS can ping but can't resolve hosts

239 views
Skip to first unread message

Periklhs Vasilakis

unread,
Dec 29, 2014, 11:08:07 AM12/29/14
to public-dn...@googlegroups.com
Hi

I am having a problem that starts 5 days ago about on my OVH France dedicated server using nameserver 8.8.8.8 ....

Even yum update is not working:

yum clean all
[root@server ~]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Setting up Update Process
Determining fastest mirrors
epel/metalink | 28 kB 00:00
* base: mirror.ate.info
* epel: mirrors.coreix.net
* extras: mirror-fr1.bbln.org
* rpmforge: mirrors.ircam.fr
* updates: mirror-fr1.bbln.org
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
epel | 4.4 kB 00:00
epel/primary_db | 6.3 MB 00:00
extras | 3.4 kB 00:00
extras/primary_db | 30 kB 00:00
mariadb | 1.9 kB 00:00
mariadb/primary_db | 22 kB 00:00
http://mirrors.ircam.fr/pub/dag/redh...ta/repomd.xml: [Errno 12] Timeout on http://mirrors.ircam.fr/pub/dag/redh...ta/repomd.xml: (28, 'Connection time-out')
Trying other mirror.
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.7 MB 00:00
http://mirror-fr1.bbln.org/centos/6....ta/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirror-fr1.bbln.org'"
Trying other mirror.
updates | 3.4 kB 00:00
updates/primary_db | 1.5 MB 00:00
1631 packages excluded due to repository priority protections
No Packages marked for Update

Even if i add this on my hosts that i can ping the ip:

204.15.73.243 mirrorlist.centos.org

Also if i use wget and a link to file is not working but if i use wget -4 and the same file link is working!!!

Also checking some system settings i found some new entries related to ipv6 that i remove:

hosts file:

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

and on nameservers i got a line:

search ip-37-187-151.eu


Some other info also:

/etc/hosts:

127.0.0.1 localhost localhost.localdomain
37.187.xxx.xx server.mydomain.com server

/etc/sysconfig/network:

NETWORKING=yes
HOSTNAME=server.mydomain.com
GATEWAY=37.187.xxx.xxx


/etc/resolv.conf
# Generated by NetworkManager
nameserver 8.8.8.8

And then reboot the server but nothing

also i have this:

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
BOOTPROTO="static"
DNS1="8.8.8.8"
GATEWAY="37.187.xxx.254"
HWADDR="0C:C4:7A:02:CA:xx"
IPADDR="37.187.xxx.xx"
NETMASK="255.255.255.0"
NM_CONTROLLED="no"
ONBOOT="yes"
TYPE="Ethernet"
UUID="cb7ea12f-2ab7-45a1-896f-8ff948d7xxxx"

and this:

/etc/nsswitch.conf

passwd: files
shadow: files
group: files

#hosts: db files nisplus nis dns
hosts: files dns

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files

netgroup: nisplus

publickey: nisplus

automount: files nisplus
aliases: files nisplus


[root@server ~]# nslookup google.com
Server: 8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: google.com
Address: 173.194.40.142
Name: google.com
Address: 173.194.40.130
Name: google.com
Address: 173.194.40.135
Name: google.com
Address: 173.194.40.132
Name: google.com
Address: 173.194.40.131
Name: google.com
Address: 173.194.40.128
Name: google.com
Address: 173.194.40.134
Name: google.com
Address: 173.194.40.129
Name: google.com
Address: 173.194.40.137
Name: google.com
Address: 173.194.40.133
Name: google.com
Address: 173.194.40.136


and:

dig @8.8.8.8 Google

[root@server ~]# dig @8.8.8.8 Google

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> @8.8.8.8 Google
; (1 server found)
;; global options: +cmd
;; connection timed out; no servers could be reached


and:

[root@server ~]# ping6 mirrors.fedoraproject.org
PING mirrors.fedoraproject.org(2001:4178:2:1269::fed2) 56 data bytes
From fe80::2ff:ffff:feff:fffe icmp_seq=25 Destination unreachable: Beyond scope of source address

[root@server ~]# lsmod | grep ipv6
nf_conntrack_ipv6 8337 67
nf_defrag_ipv6 27236 1 nf_conntrack_ipv6
nf_conntrack 80390 8 nf_conntrack_ipv6,xt_state,nf_nat_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_conntrack,nf_conntrack_ftp
ipv6 334740 42 nf_conntrack_ipv6,nf_defrag_ipv6


Also postfix can't send emails to new registered users :(

Then i try another Korean nameserver 164.124.101.88 and then all working great but it has big ping 290ms :( comapred to 5ms that i was had using Google's nameservers......

My server ip is: 37.187.151.21

Thank you



Shen Wan

unread,
Dec 30, 2014, 8:24:41 AM12/30/14
to public-dn...@googlegroups.com
Hi,

I just checked and all our resolvers can resolve mirrors.fedoraproject.org. Please follow https://developers.google.com/speed/public-dns/docs/using#troubleshooting to diagnose (dig @8.8.8.8 mirrors.fedoraproject.org) and provide us your result if you still need help.

Thanks!

Periklhs Vasilakis

unread,
Dec 30, 2014, 2:47:48 PM12/30/14
to public-dn...@googlegroups.com
Thanks for your reply Shen Wan


[root@server ~]# dig google.com

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27184
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
google.com.             59      IN      A       173.194.66.138
google.com.             59      IN      A       173.194.66.102
google.com.             59      IN      A       173.194.66.100
google.com.             59      IN      A       173.194.66.113
google.com.             59      IN      A       173.194.66.139
google.com.             59      IN      A       173.194.66.101

;; Query time: 6 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Dec 30 21:42:53 2014
;; MSG SIZE  rcvd: 124



traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
 1  37.187.151.252  0.533 ms  0.572 ms
 2  * *
 3  * *
 4  * *
 5  * *
 6  * *
 7  * *
 8  * *
 9  * *
10  * *
11  * *
12  * *
13  * *
14  * *
15  * *
16  * *
17  * *
18  * *
19  * *
20  * *
21  * *
22  * *
23  * *
24  * *
25  * *
26  * *
27  * *
28  * *
29  * *
30  * *



[root@server ~]# dig @8.8.8.8 www.yahoo.com.

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> @8.8.8.8 www.yahoo.com.
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34105
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
www.yahoo.com.          288     IN      CNAME   fd-fp3.wg1.b.yahoo.com.
fd-fp3.wg1.b.yahoo.com. 7       IN      A       46.228.47.115
fd-fp3.wg1.b.yahoo.com. 7       IN      A       46.228.47.114

;; Query time: 11 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Dec 30 21:45:06 2014
;; MSG SIZE  rcvd: 90



[root@server ~]# dig @8.8.8.8 www.yahoo.com. +cd

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> @8.8.8.8 www.yahoo.com. +cd
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51642
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0

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

;; ANSWER SECTION:
www.yahoo.com.          200     IN      CNAME   fd-fp3.wg1.b.yahoo.com.
fd-fp3.wg1.b.yahoo.com. 6       IN      A       46.228.47.115
fd-fp3.wg1.b.yahoo.com. 6       IN      A       46.228.47.114

;; Query time: 6 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Dec 30 21:46:08 2014
;; MSG SIZE  rcvd: 90

Periklhs Vasilakis

unread,
Dec 30, 2014, 3:00:42 PM12/30/14
to public-dn...@googlegroups.com
Also this:

[root@server ~]# dig @8.8.8.8 mirrors.fedoraproject.org

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 <<>> @8.8.8.8 mirrors.fedoraproject.org
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15183
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;mirrors.fedoraproject.org.     IN      A

;; ANSWER SECTION:
wildcard.fedoraproject.org. 33  IN      A       209.132.181.16
wildcard.fedoraproject.org. 33  IN      A       152.19.134.146
wildcard.fedoraproject.org. 33  IN      A       85.236.55.6
wildcard.fedoraproject.org. 33  IN      A       213.175.193.206

;; Query time: 6 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Dec 30 21:59:54 2014
;; MSG SIZE  rcvd: 130

Shen Wan

unread,
Jan 3, 2015, 12:08:26 PM1/3/15
to public-dn...@googlegroups.com
I do not see any problems in your dig results. The domain mirrors.fedoraproject.org resolves fine.
Reply all
Reply to author
Forward
0 new messages