MSYS2-packages
MSYS2-packages copied to clipboard
DNS problems
Windows 10 Pro msys2-x86_64-20170918 (fresh install)
Some websites work okay, some don't.
$ wget --debug --verbose -O- http://www.libero.it
Setting --verbose (verbose) to 1
Setting --output-document (outputdocument) to -
DEBUG output created by Wget 1.19.1 on msys.
Reading HSTS entries from /home/eimiar/.wget-hsts
--2017-12-15 21:00:40-- http://www.libero.it/
Resolving www.libero.it... failed: Name or service not known.
wget: unable to resolve host address ‘www.libero.it’
$ wget -O- http://www.google.com
--2017-12-15 20:33:42-- http://www.google.com/
Resolving www.google.com... 172.217.23.68
Connecting to www.google.com|172.217.23.68|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.google.it/?gfe_rd=cr&dcr=0&ei=miM0WtrZAtTw8Aes8rrQAw [following]
--2017-12-15 20:33:42-- http://www.google.it/?gfe_rd=cr&dcr=0&ei=miM0WtrZAtTw8Aes8rrQAw
Resolving www.google.it... 172.217.23.35
Connecting to www.google.it|172.217.23.35|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘STDOUT’
...
(note: 2 days ago google.com didn't work)
$ curl --trace '/dev/stdout' http://www.libero.it
== Info: STATE: INIT => CONNECT handle 0x600057480; line 1422 (connection #-5000)
== Info: Rebuilt URL to: http://www.libero.it/
== Info: Added connection 0. The cache now contains 1 members
== Info: STATE: CONNECT => WAITRESOLVE handle 0x600057480; line 1458 (connection #0)
== Info: Could not resolve host: www.libero.it
== Info: Closing connection 0
== Info: The cache now contains 0 members
curl: (6) Could not resolve host: www.libero.it
$ curl --trace '/dev/stdout' http://www.google.com
== Info: STATE: INIT => CONNECT handle 0x600057480; line 1422 (connection #-5000)
== Info: Rebuilt URL to: http://www.google.com/
== Info: Added connection 0. The cache now contains 1 members
== Info: STATE: CONNECT => WAITRESOLVE handle 0x600057480; line 1458 (connection #0)
== Info: Trying 216.58.205.36...
== Info: TCP_NODELAY set
== Info: STATE: WAITRESOLVE => WAITCONNECT handle 0x600057480; line 1539 (connection #0)
== Info: Connected to www.google.com (216.58.205.36) port 80 (#0)
== Info: STATE: WAITCONNECT => SENDPROTOCONNECT handle 0x600057480; line 1591 (connection #0)
== Info: Marked for [keep alive]: HTTP default
== Info: STATE: SENDPROTOCONNECT => PROTOCONNECT handle 0x600057480; line 1605 (connection #0)
== Info: STATE: PROTOCONNECT => DO handle 0x600057480; line 1626 (connection #0)
=> Send header, 78 bytes (0x4e)
0000: 47 45 54 20 2f 20 48 54 54 50 2f 31 2e 31 0d 0a GET / HTTP/1.1..
0010: 48 6f 73 74 3a 20 77 77 77 2e 67 6f 6f 67 6c 65 Host: www.google
0020: 2e 63 6f 6d 0d 0a 55 73 65 72 2d 41 67 65 6e 74 .com..User-Agent
0030: 3a 20 63 75 72 6c 2f 37 2e 35 35 2e 31 0d 0a 41 : curl/7.55.1..A
0040: 63 63 65 70 74 3a 20 2a 2f 2a 0d 0a 0d 0a ccept: */*....
== Info: STATE: DO => DO_DONE handle 0x600057480; line 1688 (connection #0)
== Info: STATE: DO_DONE => WAITPERFORM handle 0x600057480; line 1813 (connection #0)
== Info: STATE: WAITPERFORM => PERFORM handle 0x600057480; line 1823 (connection #0)
== Info: HTTP 1.1 or later with persistent connection, pipelining supported
*************************** CUT ***************************
== Info: STATE: PERFORM => DONE handle 0x600057480; line 1992 (connection #0)
== Info: multi_done
== Info: Connection #0 to host www.google.com left intact
== Info: Expire cleared
There's no /etc/resolv.conf file
$ ping www.libero.it
Pinging dgjpjracmpshq.cloudfront.net [54.192.27.93] with 32 bytes of data:
Reply from 54.192.27.93: bytes=32 time=8ms TTL=247
Reply from 54.192.27.93: bytes=32 time=8ms TTL=247
Reply from 54.192.27.93: bytes=32 time=8ms TTL=247
Reply from 54.192.27.93: bytes=32 time=8ms TTL=247
Ping statistics for 54.192.27.93:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 8ms, Maximum = 8ms, Average = 8ms
same problem - at the same time modifying the pacman.conf line 18 eg to XferCommand = /c/Windows/System32/curl also does not change anything does not even get picked up as which curl still gives /usr/bin/curl
Can you provide the command you want to run and the output of it?