/etc/hosts vs. /etc/resolv.conf in Linux - LookLinux

Jul 06, 2020 What does “sudo echo nameserver 8.8.8.8 > /etc/resolv.conf I googles it and somewhere it said to add nameserver 8.8.8.8 in my etc/resolve.conf file. I tried that solution and my internet started working like a charm. Now I'm just very curious about what changes did this command make to my network. linux; Jan 23, 2019 in Linux Administration by Doug networking - Why should I use DNS 8.8.8.8? - Super User Possible Duplicate: Google's DNS service: Google public DNS I was asked to put 8.8.8.8 as an alternative DNS server. Through whois I found that the IP address corresponds to the host google- Get Started | Public DNS | Google Developers Jun 25, 2020

What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf

Set custom DNS servers on Ubuntu 18.04 or 20.04 - Ricmedia May 22, 2020 DNS is set incorrectly to 8.8.8.8 in VirtualBox - CentOS Jul 30, 2014

DNS Propagation Check - Global DNS Propagation Checker

resolvconf: manage nameserver information - Linux Man dns-nameserver 8.8.8.8 To add search domain names, add a line beginning with dns-search. dns-search foo.org bar.com The dns-nameservers option is also accepted and, unlike dns-nameserver, can be given multiple arguments, separated by spaces. The dns-domain option is deprecated in favor of dns-search.