LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2013, 06:58 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 252

Rep: Reputation: 1
setting DNS on fedora


Hi,

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

Thanks!
 
Old 06-08-2013, 08:18 AM   #2
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
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 .
 
1 members found this post helpful.
Old 06-08-2013, 08:21 AM   #3
sryzdn
Member
 
Registered: Feb 2013
Posts: 252

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by ali.abry View Post
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!!!!

Last edited by sryzdn; 06-08-2013 at 08:49 AM.
 
Old 06-08-2013, 10:29 AM   #4
ali.abry
Member
 
Registered: Feb 2013
Posts: 74

Rep: Reputation: Disabled
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 .
 
Old 06-08-2013, 01:54 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,901

Rep: Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428Reputation: 2428
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i want make DNS server on fedora 8 opreting system plz tell me what is file use DNS nitin gupta Linux - Newbie 2 02-20-2008 06:01 PM
Setting DNS on Fedora core 4 janarbek Linux - Server 4 01-11-2008 03:12 AM
Setting up a DNS server on Fedora Core 5 impulse() Linux - General 1 06-07-2006 03:17 PM
newbie setting up dns with fedora 3 delphipgmr Linux - Newbie 4 11-10-2004 01:23 PM
Setting up a DNS server under Fedora trentham Linux - Networking 6 09-01-2004 03:17 AM


All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration