I am wondering why specifically google and youtube are slow and if there is anything I can try to fix it
below I ping, google.com, youtube.com, superuser.com, and yahoo.com and you can see google.com and youtube.com time's are significantly higher than superuser and yahoo.com, and I can definitely feel the slowness when browsing youtube/google.
I also tried restarting the router
google.com ping
➜ ping google.com
PING google.com (142.250.80.46) 56(84) bytes of data.
64 bytes from lga34s34-in-f14.1e100.net (142.250.80.46): icmp_seq=1 ttl=119 time=352 ms
64 bytes from lga34s34-in-f14.1e100.net (142.250.80.46): icmp_seq=3 ttl=119 time=349 ms
64 bytes from lga34s34-in-f14.1e100.net (142.250.80.46): icmp_seq=4 ttl=119 time=362 ms
64 bytes from lga34s34-in-f14.1e100.net (142.250.80.46): icmp_seq=5 ttl=119 time=350 ms
64 bytes from lga34s34-in-f14.1e100.net (142.250.80.46): icmp_seq=6 ttl=119 time=358 ms
youtube.com ping
➜ ping youtube.com
PING youtube.com (142.250.176.206) 56(84) bytes of data.
64 bytes from lga34s37-in-f14.1e100.net (142.250.176.206): icmp_seq=1 ttl=119 time=75.9 ms
64 bytes from lga34s37-in-f14.1e100.net (142.250.176.206): icmp_seq=4 ttl=119 time=75.4 ms
64 bytes from lga34s37-in-f14.1e100.net (142.250.176.206): icmp_seq=6 ttl=119 time=75.5 ms
64 bytes from lga34s37-in-f14.1e100.net (142.250.176.206): icmp_seq=8 ttl=119 time=75.6 ms
superuser.com ping
➜ ping superuser.com
PING superuser.com (151.101.1.69) 56(84) bytes of data.
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=1 ttl=59 time=7.46 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=2 ttl=59 time=7.48 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=3 ttl=59 time=7.54 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=4 ttl=59 time=7.47 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=5 ttl=59 time=7.52 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=6 ttl=59 time=7.49 ms
yahoo.com ping
➜ ping superuser.com
PING superuser.com (151.101.1.69) 56(84) bytes of data.
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=1 ttl=59 time=7.46 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=2 ttl=59 time=7.48 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=3 ttl=59 time=7.54 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=4 ttl=59 time=7.47 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=5 ttl=59 time=7.52 ms
64 bytes from 151.101.1.69 (151.101.1.69): icmp_seq=6 ttl=59 time=7.49 ms
NS lookup output of youtube.com was requested in the comments below
❯ nslookup youtube.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: youtube.com
Address: 142.250.176.206
Name: youtube.com
Address: 2607:f8b0:4006:81c::200e
nslookup youtube.com
for us.