You are not logged in.
I just finished setting up arch linux for the first time. The problem I was facing is originally is slow download speed from github when using
git cloneWhen I looked further I saw I couldn't
ping github.com successfully the IP address gets resolved but I still can't ping it, these 2 issues might be related.
When I searched further it seemed that with this issue I can't
ping duckduckgo.comas well, and this was due to some issue with AAAA certificates which I'm not familiar with
Any help is appreciated
PING github.com (20.207.73.82) 56(84) bytes of data.
^C
--- github.com ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1021msOffline
Can't tell much from what you have posted.
duckduckgo.com does not answer a ping. github does.
ping -c1 github.com
PING github.com (140.82.113.3) 56(84) bytes of data.
1 packets transmitted, 1 received, 0% packet loss, time 0ms
whois 20.207.73.82
Organization: Microsoft Corporation (MSFT)
whois 140.82.113.3
Organization: GitHub, Inc. (GITHU)I just finished setting up arch linux for the first time.
Are you booted to the same kernel that you have installed? Rebooted, had /boot mounted while running pacman -Syu?
What network manger are you using? Don't have multiple network managers installed? How about the DNS that you are using?
dig github.comAlso, anything in the journal
man journalctlWelcome to arch.
Offline
DIG Output -
; <<>> DiG 9.18.9 <<>> github.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27065
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 8, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;github.com. IN A
;; ANSWER SECTION:
github.com. 19 IN A 20.207.73.82
;; AUTHORITY SECTION:
github.com. 810 IN NS dns1.p08.nsone.net.
github.com. 810 IN NS dns2.p08.nsone.net.
github.com. 810 IN NS dns3.p08.nsone.net.
github.com. 810 IN NS dns4.p08.nsone.net.
github.com. 810 IN NS ns-1283.awsdns-32.org.
github.com. 810 IN NS ns-1707.awsdns-21.co.uk.
github.com. 810 IN NS ns-421.awsdns-52.com.
github.com. 810 IN NS ns-520.awsdns-01.net.
;; Query time: 6 msec
;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP)
;; WHEN: Fri Dec 02 21:22:02 IST 2022
;; MSG SIZE rcvd: 278I've removed the installation media and I've booted into the kernel that I installed and I've also ran pacman -Syu after that
Not sure but I've only installed NetworkManager as a network manager
I've set DNS=8.8.8.8 in /etc/systemd/resolved.conf haven't configured anything else for DNS
Offline
What's the output of `ip a`?
Offline
What's the output of `ip a`?
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 08:97:98:b8:f2:00 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.26/24 brd 192.168.1.255 scope global dynamic noprefixroute enp7s0
valid_lft 86262sec preferred_lft 86262sec
inet6 2401:4900:1c0b:10:49af:a9a0:825e:71b/64 scope global dynamic noprefixroute
valid_lft 60314sec preferred_lft 60314sec
inet6 2401:4900:1c0b:10:512d:f0b9:ca12:172a/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 60314sec preferred_lft 60314sec
inet6 fe80::e8ee:3d5a:4089:398e/64 scope link noprefixroute
valid_lft forever preferred_lft foreverOffline
Output of dig shows for a DNS
;; SERVER: 192.168.1.1#53(192.168.1.1) (UDP)I've removed the installation media and I've booted into the kernel that I installed and I've also ran pacman -Syu after that
Was there a kernel update in that? Are these the same?
pacman -Si linux
uname -aNot sure but I've only installed NetworkManager as a network manager
Did you configure it Static, DHCP?, and have it start it at boot?
https://wiki.archlinux.org/title/NetworkManager
This: 192.168.1.1# , which is your portal/modem/internet device is using it's DNS for you.
I've set DNS=8.8.8.8 in /etc/systemd/resolved.conf
Read 4.7.1.2 systemd-resolved of https://wiki.archlinux.org/title/NetworkManager
Offline
The kernel versions are the same
I have dhcpcd running at boot for DHCP (dhcpcd.service)
I've configured NetworkManager to use systemd-resolvd for DNS still not working
I can edit the /etc/resolv.conf and add nameserver 8.8.8.8 at the top
Then if I run dig
; <<>> DiG 9.18.9 <<>> github.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37012
;; 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. 56 IN A 20.207.73.82
;; Query time: 6 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Fri Dec 02 22:28:23 IST 2022
;; MSG SIZE rcvd: 55I doubt the issue is related to DNS as I'm able to resolve the IP address, I think the issue has something to do with Ipv4 vs Ipv6
Offline
That's why I asked for the ip a ouptput, but I don't see anything wrong there.
If you're using dhcpcd at boot, where does NetworkManager come in? Are you running that at boot also? You shouldn't be running both.
Offline
ip route get 20.207.73.82
tracepath 20.207.73.82
ping -c google.comNeither ddg nor github resolve an AAAA field for me, so the OP might be correct in the IPv4/6 assumption.
Offline
That's why I asked for the ip a ouptput, but I don't see anything wrong there.
If you're using dhcpcd at boot, where does NetworkManager come in? Are you running that at boot also? You shouldn't be running both.
Tried removing dhcpcd also, no success
DNS queries are resolved but still cant ping that address
Offline
ip route get 20.207.73.82 tracepath 20.207.73.82 ping -c google.comNeither ddg nor github resolve an AAAA field for me, so the OP might be correct in the IPv4/6 assumption.
Sorry couldn't understand, what should I do ?
Offline
Rund those commands and post the outputs.
Offline
IP ROUTE
ip route get 20.207.73.82
20.207.73.82 via 192.168.1.1 dev enp7s0 src 192.168.1.26 uid 1000
cachetracepath
20.207.73.82
1?: [LOCALHOST] pmtu 1500
1: _gateway 0.545ms
1: _gateway 0.502ms
2: _gateway 0.521ms pmtu 1480
2: abts-north-dynamic-255.187.69.182.airtelbroadband.in 5.812ms
3: 125.18.240.153 8.126ms
4: 116.119.109.4 5.917ms
5: ae68-0.del01-96cbe-1b.ntwk.msn.net 6.793ms asymm 4
6: ae20-0.del01-96cbe-1a.ntwk.msn.net 7.385ms asymm 4
7: ae32-0.ear01.bom02.ntwk.msn.net 35.339ms asymm 9
8: be-26-0.ibr04.bom02.ntwk.msn.net 46.492ms asymm 9
9: be-15-0.ibr04.bom30.ntwk.msn.net 62.407ms asymm 8
10: be-2-0.ibr03.bom30.ntwk.msn.net 113.304ms asymm 8
11: be-3-0.ibr02.pnq21.ntwk.msn.net 46.383ms asymm 6
12: be-1-0.ibr01.pnq21.ntwk.msn.net 47.791ms asymm 6
13: ae106-0.rwa04.pnq21.ntwk.msn.net 69.440ms asymm 6
14: no reply
15: no reply
16: no reply
17: no reply
18: no reply
19: no reply
20: no reply
21: no reply
22: no reply
23: no reply
24: no reply
25: no reply
26: no reply
27: no reply
28: no reply
29: no reply
30: no reply
Too many hops: pmtu 1480
Resume: pmtu 1480Ping
ping -c 2 google.com
PING google.com (216.58.221.46) 56(84) bytes of data.
64 bytes from kul01s10-in-f46.1e100.net (216.58.221.46): icmp_seq=1 ttl=118 time=7.78 ms
64 bytes from kul01s10-in-f46.1e100.net (216.58.221.46): icmp_seq=2 ttl=118 time=7.49 ms
--- google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 7.488/7.636/7.784/0.148 msOffline
2: _gateway 0.521ms pmtu 1480ip link set dev enp7s0 mtu 1400Nevertheless you can tracepath into the MSN domain - sure you can't ping github atm?
2: abts-north-dynamic-255.187.69.182.airtelbroadband.in 5.812msIn case anyone wonders, the creative one seems to have been alliance:
https://bbs.archlinux.org/viewtopic.php … 8#p2022558
Offline
2: _gateway 0.521ms pmtu 1480ip link set dev enp7s0 mtu 1400Nevertheless you can tracepath into the MSN domain - sure you can't ping github atm?
2: abts-north-dynamic-255.187.69.182.airtelbroadband.in 5.812msIn case anyone wonders, the creative one seems to have been alliance:
https://bbs.archlinux.org/viewtopic.php … 8#p2022558
Still can't ping github.com, so what's the issue ? is it my ISPs fault ?
Offline
The reason isn't clear - also the MTU should™ not impact the (smaller) ICMP packages.
Can you "ping -c1 140.82.121.4"?
Offline
The reason isn't clear - also the MTU should™ not impact the (smaller) ICMP packages.
Can you "ping -c1 140.82.121.4"?
Yes
PING 140.82.121.4 (140.82.121.4) 56(84) bytes of data.
64 bytes from 140.82.121.4: icmp_seq=1 ttl=55 time=185 ms
--- 140.82.121.4 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 185.274/185.274/185.274/0.000 msOffline
That's github.
20.207.73.82 is as well (some more generic MS server, while 140.82.121.4 is registered w/ github, inc.) but doesn't respond to ICMP for me either (but I can open an https connection and end at github)
dig @8.8.8.8 github.com
dig @1.1.1.1 github.comOffline
That's github.
20.207.73.82 is as well (some more generic MS server, while 140.82.121.4 is registered w/ github, inc.) but doesn't respond to ICMP for me either (but I can open an https connection and end at github)dig @8.8.8.8 github.com dig @1.1.1.1 github.com
dig @8.8.8.8 github.com
; <<>> DiG 9.18.9 <<>> @8.8.8.8 github.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1767
;; 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.207.73.82
;; Query time: 10 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Sat Dec 03 01:03:47 IST 2022
;; MSG SIZE rcvd: 55dig @1.1.1.1 github.com
; <<>> DiG 9.18.9 <<>> @1.1.1.1 github.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51255
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;github.com. IN A
;; ANSWER SECTION:
github.com. 32 IN A 20.207.73.82
;; Query time: 13 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Sat Dec 03 01:03:55 IST 2022
;; MSG SIZE rcvd: 55Offline
Unless your ISP is messing w/ your DNS traffic, you google and cloudflare resolve a MS server in India and that server doesn't respond to ICMP.
That's not a problem per se, though.
The only issue you might have is he slow traffic (if you still get that) and whether it's because of this server.
You could locally (/etc/hosts) resolve github.com to the US server (140.82.121.4) and see whether that performs better.
Offline
Unless your ISP is messing w/ your DNS traffic, you google and cloudflare resolve a MS server in India and that server doesn't respond to ICMP.
That's not a problem per se, though.The only issue you might have is he slow traffic (if you still get that) and whether it's because of this server.
You could locally (/etc/hosts) resolve github.com to the US server (140.82.121.4) and see whether that performs better.
Hmm seems like that, I mapped github.com to the US server and I'm getting decent speed and I can ping it as well
Thank you for all the help!
Offline