Always resolving domains using ipv6 and not working

Since yesterday all requests from the server to external domains are resolved using ipv6 (if the domain uses ipv6) and are giving connection error.

For example, a simple ping to google.com

Any idea what it could be? How to force to use ipv4 again? or how to make it connect correctly?

For example, this does not let me update the system.

Thank you.

Greetings.

Status: 
Closed (fixed)

Comments

Howdy -- hmm, can you share an example of what output you see when trying to ping google.com?

Also, what are the contents of your /etc/resolv.conf file?

Title: Always resolve domains using ipv6 and not working » Always resolving domains using ipv6 and not working

Of Course:

ping google.com

PING google.com(par10s29-in-x0e.1e100.net (2a00:1450:4007:80f::200e)) 56 data bytes

^C

--- google.com ping statistics ---

104 packets transmitted, 0 received, 100% packet loss, time 105457ms

cat /etc/resolv.conf

nameserver 127.0.0.1

nameserver 213.186.33.99

search ovh.net

Hmm, so there aren't errors, it's just not going through.

Well, you may want to consider consulting with OVH about the IPv6 networking settings in use there... they'd be able to help you double-check that those are correct (assuming OVH is your provider, but there was a mention of that in your one config file).

However, another option would be to simply disable IPv6... you could do that by removing the IPv6 address from your network interface.

Thank you. It's solved removing the IPv6 address.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.