Friday, February 13, 2015

HowTo Fix Yum Couldnt resolve host Error in Fedora 18


** if you are getting a "Couldnt resolve host" response to this then simply do the following

       gedit /etc/resolv.conf
       look for the list of the nameserver and add the line below to the top of the list
       nameserver 8.8.8.8

       your /etc/resolv.conf should look something like this
       # Generated by NetworkManager
       domain smartbro.net
       search smartbro.net
       nameserver 8.8.8.8
       nameserver 121.1.3.81
       nameserver 121.1.3.16
       nameserver 121.1.3.66
       # NOTE: the libc resolver may not support more than 3 nameservers.
       # The nameservers listed below may not be recognized.
       nameserver 192.168.1.1

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.