Thu. Dec 26th, 2019

Host your Website

Read and learn

FatCow Web Hosting $1.00/mo* Trust your web hosting to the #1 web host provider, GoDaddy!

Fix DNS Resolution on Linux 2019 (Failure in name resolution)

1 min read

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 Add a 2nd if you like.
chattr +i /etc/resolv.con

Copyright © All rights reserved. | Newsphere by AF themes.