This video will describe how you can fix your DNS issues on any Linux that uses Systemd as an Initiator. All you have to do is run a few commands as displayed in the video and that will stop and nameserver issues when you're unable to ping the Domain Servers but you can ping the IP addresses on linux.
These are the commands that are mentioned in the video.
sudo su
rm /etc/resolv.conf
touch /etc/resolv.conf
nano /etc/resolv.conf
#add nameserver x.x.x.x e.g nameserver 1.1.1.1. Add a 2nd if you like.
chattr +i /etc/resolv.conf
reboot
Ещё видео!