You are not logged in.
dig command show:
$ dig github.com @8.8.8.8
; <<>> DiG 9.20.8 <<>> github.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11215
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;github.com. IN A
;; ANSWER SECTION:
github.com. 300 IN A 127.0.0.1
;; Query time: 59 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Mon Apr 28 22:45:10 CST 2025
;; MSG SIZE rcvd: 44
Last edited by sanne2 (2025-04-30 02:10:52)
Offline
when i use +tcp,it‘s correct.
$ dig +tcp github.com @8.8.8.8
; <<>> DiG 9.20.8 <<>> +tcp github.com @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 14170
;; 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. 60 IN A 20.205.243.166
;; Query time: 100 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (TCP)
;; WHEN: Mon Apr 28 22:58:59 CST 2025
;; MSG SIZE rcvd: 55
and my phone can open github, same wifi
What should I do?
Last edited by sanne2 (2025-04-28 15:05:00)
Offline
Check the Arch installation as a source for this error.
Boot your system from a recent Arch install ISO and issue the dig command there.
Offline
Check the Arch installation as a source for this error.
Boot your system from a recent Arch install ISO and issue the dig command there.
still encounter this issue in the live environment.
Last edited by sanne2 (2025-04-28 15:59:55)
Offline
If your next network hop is your WiFi/internet router - check it's configuration. This looks like a deliberate DNS filter (black hole).
Offline
If your next network hop is your WiFi/internet router - check it's configuration. This looks like a deliberate DNS filter (black hole).
i check my wifi configuration,no dns filter,maybe it from my ISP?
Offline
Have you tried other DNS, like 1.1.1.1, 9.9.9.9 - or the one likely provided by your ISP?
If your ISP ends up filtering port 53 traffic, see https://wiki.archlinux.org/title/DNS-over-HTTPS and change your ISP unless this is a government thing.
Edit: is this btw. limited to github?
Can you "dig @8.8.8.8 google.com" or "dig @8.8.8.8 4chan.org" (latter standing in for what a restrictive environment likely considers filth you're not supposed to see)
Last edited by seth (2025-04-29 07:06:31)
Offline
Have you tried other DNS, like 1.1.1.1, 9.9.9.9 - or the one likely provided by your ISP?
If your ISP ends up filtering port 53 traffic, see https://wiki.archlinux.org/title/DNS-over-HTTPS and change your ISP unless this is a government thing.Edit: is this btw. limited to github?
Can you "dig @8.8.8.8 google.com" or "dig @8.8.8.8 4chan.org" (latter standing in for what a restrictive environment likely considers filth you're not supposed to see)
only github encounter this issue.
other dns server like 1.1.1.1 also not working
Offline
this problem has been solved.
use doh.
Thank you everyone.
Last edited by sanne2 (2025-04-29 13:55:09)
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Out of curiosity: https://en.wikipedia.org/wiki/Censorship_of_GitHub
Do you live in one of those less-than-properly-functioning countries?
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.Out of curiosity: https://en.wikipedia.org/wiki/Censorship_of_GitHub
Do you live in one of those less-than-properly-functioning countries?
yeah, china.
but this is first time i face.
Offline
https://viewdns.info/chinesefirewall/?domain=4chan.org # lol memes
https://viewdns.info/chinesefirewall/?domain=google.com # google is evil, comes back as a fastweb server in italy?
https://viewdns.info/chinesefirewall/?domain=github.com # no results at all…
So it seems indeed china currently resolves github.com to the localhost?
Offline