Okay, this is starting to rub me the wrong way:
ouroumov@Bloc:~/Desktop$ wget https://ubuntu-mate.community/
--2016-07-26 08:52:56-- https://ubuntu-mate.community/
Resolving ubuntu-mate.community (ubuntu-mate.community)... 2400:cb00:2048:1::681c:1858, 2400:cb00:2048:1::681c:1958
Connecting to ubuntu-mate.community (ubuntu-mate.community)|2400:cb00:2048:1::681c:1858|:443... failed: Network is unreachable.
Connecting to ubuntu-mate.community (ubuntu-mate.community)|2400:cb00:2048:1::681c:1958|:443... failed: Network is unreachable.
ouroumov@Bloc:~/Desktop$ ping ubuntu-mate.community
PING ubuntu-mate.community (104.28.25.88) 56(84) bytes of data.
64 bytes from 104.28.25.88: icmp_seq=1 ttl=57 time=13.2 ms
64 bytes from 104.28.25.88: icmp_seq=2 ttl=57 time=13.2 ms
64 bytes from 104.28.25.88: icmp_seq=3 ttl=57 time=13.2 ms
64 bytes from 104.28.25.88: icmp_seq=4 ttl=57 time=13.3 ms
ouroumov@Bloc:~/Desktop$ dig ubuntu-mate.community
; <<>> DiG 9.10.3-P4-Ubuntu <<>> ubuntu-mate.community
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28258
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 3843
;; QUESTION SECTION:
;ubuntu-mate.community. IN A
;; ANSWER SECTION:
ubuntu-mate.community. 186 IN A 104.28.24.88
ubuntu-mate.community. 186 IN A 104.28.25.88
;; AUTHORITY SECTION:
ubuntu-mate.community. 19682 IN NS duke.ns.cloudflare.com.
ubuntu-mate.community. 19682 IN NS lisa.ns.cloudflare.com.
;; Query time: 0 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Tue Jul 26 08:54:25 CEST 2016
;; MSG SIZE rcvd: 137
ouroumov@Bloc:~/Desktop$ wget https://ubuntu-mate.community/
--2016-07-26 08:55:56-- https://ubuntu-mate.community/
Resolving ubuntu-mate.community (ubuntu-mate.community)... 2400:cb00:2048:1::681c:1858, 2400:cb00:2048:1::681c:1958
Connecting to ubuntu-mate.community (ubuntu-mate.community)|2400:cb00:2048:1::681c:1858|:443... failed: Network is unreachable.
Connecting to ubuntu-mate.community (ubuntu-mate.community)|2400:cb00:2048:1::681c:1958|:443... failed: Network is unreachable.
ouroumov@Bloc:~/Desktop$ wget https://ubuntu-mate.community/
--2016-07-26 08:57:56-- https://ubuntu-mate.community/
Resolving ubuntu-mate.community (ubuntu-mate.community)... 104.28.24.88, 104.28.25.88, 2400:cb00:2048:1::681c:1858, ...
Connecting to ubuntu-mate.community (ubuntu-mate.community)|104.28.24.88|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘index.html’
index.html [ <=> ] 84,32K --.-KB/s in 0,03s
2016-07-26 08:57:56 (2,43 MB/s) - ‘index.html’ saved [86342]
Note that I didn’t do anything between when it was failing and when it decided not to fail anymore.
I have Ipv6 set to “Ignore” in Network Connections.
I’m gonna follow @Blank’s advice and kill IPv6 in sysctl.conf it that continues.
@Dave_Barnes, to me it looks like one of those three options:
- Some parts of the system are not hitting the DNS cache
- DNS Cache is poisoned and PING is ignoring the DNS cache.
- System is using IPv6 and refuses to fallback to IPv4 for some reason.
But the second option would be weird: why would the dig response from 127.0.1.1#53(127.0.1.1) be correct?