PC & IT SUPPORT MADE EASY FORUM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Fix server Temporary failure in name resoltion

Go down

Fix server Temporary failure in name resoltion Empty Fix server Temporary failure in name resoltion

Post by jamied_uk 23rd April 2019, 20:42

Vid


fix.sh

Code:
chmod +x *.sh


Code:
#!/bin/bash
# server Temporary failure in name resoltion
#
#
#
# ./run.sh
#
echo "(c) J~Net 2019 Internet Fixer For Linux"
echo ""
#
# su

systemctl disable systemd-resolved.service

#Stop the service

systemctl stop systemd-resolved.service

#Then, remove the link to /run/systemd/resolve/stub-resolv.conf in /etc/resolv.conf

rm /etc/resolv.conf

#Add a manually created resolv.conf in /etc/

#gedit /etc/resolv.conf

#Add your prefered DNS server there

echo "nameserver 8.8.8.8" > /etc/resolv.conf

# 208.67.222.222

#I've tested this with success.
cat /etc/resolv.conf
echo "Fixed!"
ping google.com


resolv.conf

Code:
nameserver 8.8.8.8
Attachments
Fix server Temporary failure in name resoltion Attachment
Fix Internet Not Working On linux.zip You don't have permission to download attachments.(1 Kb) Downloaded 0 times
jamied_uk
jamied_uk
Admin

Posts : 3053
Join date : 2010-05-09
Age : 41
Location : UK

https://jnet.sytes.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum