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
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......