ubuntu 下访问 github 不能访问,其他机器没问题

2014 年 8 月 12 日
 wangfeng3769
不知道哪里出了问题 nslookup github.com 结果无异常 dig 亦正常,想知道我应该从何处入手,排查问题.
7363 次点击
所在节点    Linux
8 条回复
wangfeng3769
2014 年 8 月 12 日
; <<>> DiG 9.9.5-3-Ubuntu <<>> github.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55854
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;github.com. IN A

;; ANSWER SECTION:
github.com. 9 IN A 192.30.252.128

;; Query time: 6 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Tue Aug 12 15:48:04 CST 2014
;; MSG SIZE rcvd: 55
wangfeng3769
2014 年 8 月 12 日
god@god:~$ nslookup github.com
Server: 127.0.1.1
Address: 127.0.1.1#53

Non-authoritative answer:
Name: github.com
Address: 192.30.252.128
wangfeng3769
2014 年 8 月 12 日
sudo hostname home 解决问题
wangfeng3769
2014 年 8 月 12 日
ping github 返回ip但是
PING github.com (192.30.252.129) 56(84) bytes of data.
From bogon (192.168.0.77) icmp_seq=1 Destination Host Unreachable
From bogon (192.168.0.77) icmp_seq=2 Destination Host Unreachable
From bogon (192.168.0.77) icmp_seq=3 Destination Host Unreachable
wangfeng3769
2014 年 8 月 12 日
是被劫持了吗?
goodxxx
2014 年 8 月 12 日
可以换种方式,其实如果有台国外主机,就不用担心墙的问题了,我给大家推荐免费的linux云主机,完全可以在上面用git等各种linux工具,https://www.nitrous.io/join/i928M5rjYtY?utm_source=nitrous.io&utm_medium=copypaste&utm_campaign=referral
god
2014 年 8 月 29 日
@wangfeng3769 。。。不要随便@god
airmour
2017 年 12 月 8 日
这个问题你解决了吗 我也遇到相同的问题了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/127439

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX