当我尝试更新 Ubuntu 18.04 时,遇到问题
Err:13 https://get.docker.com/ubuntu docker InRelease
403 Forbidden [IP: 143.204.15.85 443]
我环顾四周并开始使用 dig 来查询 docker nameservers。无论如何,根据我得到的信息,我不知道如何解决我的问题。
dig @8.8.8.8 get.docker.com
; <<>> DiG 9.11.3-1ubuntu1.7-Ubuntu <<>> @8.8.8.8 get.docker.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4347
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;get.docker.com. IN A
;; ANSWER SECTION:
get.docker.com. 119 IN CNAME d3cxuo8f8w64ms.cloudfront.net.
d3cxuo8f8w64ms.cloudfront.net. 59 IN A 143.204.214.94
d3cxuo8f8w64ms.cloudfront.net. 59 IN A 143.204.214.26
d3cxuo8f8w64ms.cloudfront.net. 59 IN A 143.204.214.20
d3cxuo8f8w64ms.cloudfront.net. 59 IN A 143.204.214.98
;; Query time: 97 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jun 19 07:06:39 CEST 2019
;; MSG SIZE rcvd: 150
但只有 docker.com 给出了不同的输出
dig @8.8.8.8 docker.com
; <<>> DiG 9.11.3-1ubuntu1.7-Ubuntu <<>> @8.8.8.8 docker.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57084
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;docker.com. IN A
;; ANSWER SECTION:
docker.com. 59 IN A 52.86.8.163
docker.com. 59 IN A 52.205.36.130
docker.com. 59 IN A 3.217.62.246
;; Query time: 62 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jun 19 07:06:42 CEST 2019
;; MSG SIZE rcvd: 87
和 docs.dockers.com
dig @8.8.8.8 docs.docker.com/install/linux/docker-ce/ubuntu/
; <<>> DiG 9.11.3-1ubuntu1.7-Ubuntu <<>> @8.8.8.8 docs.docker.com/install/linux/docker-ce/ubuntu/
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 3301
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;docs.docker.com/install/linux/docker-ce/ubuntu/. IN A
;; AUTHORITY SECTION:
. 86393 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2019061900 1800 900 604800 86400
;; Query time: 42 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jun 19 07:15:40 CEST 2019
;; MSG SIZE rcvd: 151
我现在应该怎么做?如何解释挖掘输出?