Yesterday, I experienced a very odd error in my new installed Rosa Linux R9 : the dig command not working! Every time I tried to dig or dig ns a domain, there is no result. I reconnected the internet connection, I rebooted the OS, but the result was still same.
I didn't know whether it is the distro issue or not, but I've finally found the solution. Here are the steps :
- Edit /etc/resolv.conf
sudo vi /etc/resolv.conf - Replace the default record with these records :
nameserver 8.8.8.8
nameserver 8.8.4.4 - Make the resolv.conf immune so the network-manager can't automatically replace it
sudo chattr +i /etc/resolv.conf - Done
Comments