Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can ping domains (ping and this works OK. However, if I do curl "" it hangs for a while and comes back with a failed message. I also get a similar message with "yum list" stating "Failed to connect to 2a01:c0:2:4.......etc.. Network is unreachable"

I have set the resolv.conf to: nameserver nameserver

I dont have Network Manager running, I am just using the network service.

Any ideas what might be going wrong?

share|improve this question

migrated from Jun 18 '12 at 15:21

This question came from our site for professional and enthusiast programmers.

The failing to connect is stating it is trying to connect to an ipv6 address, which means that DNS actually is working as it resolved the address to an ipv6 address and then is failing to connect to it. It is likely that your IPV6 setup isn't operating correctly. You should try curl -4 and see if that works. If it does, then you should remove the (global) IPv6 address from your interface as it isn't working correctly.

share|improve this answer
I did think that it might be a ipv6 issue, so had already disabled it. So doesnt appear to fix the issue. – Andy Russell Jun 18 '12 at 15:05

You must log in to answer this question.