LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   setting DNS on fedora (https://www.linuxquestions.org/questions/linux-newbie-8/setting-dns-on-fedora-4175465217/)

sryzdn 06-08-2013 05:58 AM

setting DNS on fedora
 
Hi,

I need to know how I can set DNS on linux (Especially fedora 19).

Thanks!

ali.abry 06-08-2013 07:18 AM

put them in /etc/resolv.conf like this :
nameserver 4.2.2.4
nameserver 8.8.8.8

you can put up to 3 dns in this file.
you should know that setting DNS in this file is temporarily .

sryzdn 06-08-2013 07:21 AM

Quote:

Originally Posted by ali.abry (Post 4967726)
put them in /etc/resolv.conf like this :
nameserver 4.2.2.4
nameserver 8.8.8.8

you can put up to 3 dns in this file.
you should know that setting DNS in this file is temporarily .

Thanks
I can not open Google today!!!!

ali.abry 06-08-2013 09:29 AM

put Dnss where i said and ping 4.2.2.4 to make sure your connected to internet and if any answer comes back try pinging google.com if no answer comes back you have Dns issue .

John VV 06-08-2013 12:54 PM

Googles dns for " ipv4 " is
1 ) 8.8.8.8
and this !
2 ) 8.8.4.4

SEE Googles page on setting this
https://developers.google.com/speed/public-dns/


All times are GMT -5. The time now is 06:34 AM.