curl: (6) Could not resolve host: google.com; Name or service not known

前端 未结 4 1576
悲&欢浪女
悲&欢浪女 2020-11-29 00:36

when I try to load a web page to terminal it gives curl: (6) Could not resolve host error.

I have internet in my PC and trying from my home internet co

4条回答
  •  不知归路
    2020-11-29 01:03

    Perhaps you have some very weird and restrictive SELinux rules in place?

    If not, try strace -o /tmp/wtf -fF curl -v google.com and try to spot from /tmp/wtf output file what's going on.

提交回复
热议问题