I'm new to Linux. My problem started a few days ago. I can't browse or download anything but I'm still connected to the internet (via WiFi). However, when I try to download something from my phone, it works just fine.
After that, I reboot the PC and it solves the problem for a 20 minutes or so. Then I can't connect to internet again. When I ping google.com
in terminal, it replies with ping: unknown host google.com
.
Output of nslookup google.com
after reboot and while the problem exists -
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
Name: google.com
Address: 74.125.200.102
Name: google.com
Address: 74.125.200.101
Name: google.com
Address: 74.125.200.113
Name: google.com
Address: 74.125.200.138
Name: google.com
Address: 74.125.200.100
Name: google.com
Address: 74.125.200.139
Output of traceroute 8.8.8.8
while there is a problem:
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 60 byte packets
1 192.168.100.1 (192.168.100.1) 1.697 ms 1.656 ms 2.430 ms
2 36.68.32.1 (36.68.32.1) 8.348 ms 8.403 ms 8.714 ms
...
20 8.8.8.8 (8.8.8.8) 19.083 ms 19.472 ms 28.314 ms
Please help me solve this problem.