LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-06-2011, 02:44 PM   #1
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Rep: Reputation: Disabled
Post configuring DNS


Can anyone tell me where I can find out how to configure DNS. I am trying to do this for Fedora on a virtual machine. Step by step instructions would be nice but that is probably to much to ask for. Any help would be appreciated.
 
Old 08-06-2011, 02:57 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
What do you want to configure, the client or the server?

Markus
 
Old 08-06-2011, 02:57 PM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

Are you trying to configure a DNS server, or just configuring DNS for a connection?

Cheers,

Josh
 
Old 08-06-2011, 03:04 PM   #4
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by corp769 View Post
Hello,

Are you trying to configure a DNS server, or just configuring DNS for a connection?

Cheers,

Josh
I am trying to configure a DNS server.
 
Old 08-06-2011, 03:12 PM   #5
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
You will have to configure bind (berkeley internet name domain server). There are many tutorials in the internet, for example here: http://www.madboa.com/geek/soho-bind/

Or do you need more general informations about DNS?

Markus
 
Old 08-06-2011, 03:12 PM   #6
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

check out these links and see if they have the info you are looking for:
http://www.linuxhomenetworking.com/w...onfiguring_DNS
http://www.redhat.com/magazine/025nov06/features/dns/
http://www.tldp.org/
 
Old 08-06-2011, 03:21 PM   #7
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
You will have to configure bind (berkeley internet name domain server). There are many tutorials in the internet, for example here: http://www.madboa.com/geek/soho-bind/

Or do you need more general informations about DNS?

Markus
To be honest, I'm very new to Linux and have no idea where to start. I read that DNS will let you go directly to the web site if you type in the name, but if done incorrectly my net work will not function right. Well I want to know how to do it right.

Last edited by kenny53067; 08-06-2011 at 03:24 PM.
 
Old 08-06-2011, 03:29 PM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

obviously you have an internet-connection with Windows. So there must be either a DNS-server in your network, or your Windows-computer is configured for an external DNS-server in the internet.

If you want to know how this works for your network, please open a terminal on Windows (the dosshell "cmd") and post the output of the command
Code:
ipconfig /all
then we'll explain you how your network is configured for DNS.

Markus
 
Old 08-06-2011, 03:36 PM   #9
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
Hi,

obviously you have an internet-connection with Windows. So there must be either a DNS-server in your network, or your Windows-computer is configured for an external DNS-server in the internet.

If you want to know how this works for your network, please open a terminal on Windows (the dosshell "cmd") and post the output of the command
Code:
ipconfig /all
then we'll explain you how your network is configured for DNS.

Markus
I have a virtual machine with Fedora, and this is where I want to configure DNS.

Last edited by kenny53067; 08-06-2011 at 03:39 PM.
 
Old 08-06-2011, 03:38 PM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
But I don't understand what you want to achieve. Do you want to configure your virtual machine as a DNS-server? or do you want to configure a proper network-configuration for the virtual machine? What is not working?

Markus
 
Old 08-06-2011, 03:44 PM   #11
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
But I don't understand what you want to achieve. Do you want to configure your virtual machine as a DNS-server? or do you want to configure a proper network-configuration for the virtual machine? What is not working?

Markus
I want to configure your virtual machine as a DNS-server?
 
Old 08-06-2011, 03:52 PM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, the first step would be to install the bind-package on the Linux-machine. Did you do that already?

Then you'll have to edit the configuration-files. And the last step would be to start the daemon (A Windows-user would call it a "Service").

Markus
 
Old 08-06-2011, 03:58 PM   #13
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
Well, the first step would be to install the bind-package on the Linux-machine. Did you do that already?

Then you'll have to edit the configuration-files. And the last step would be to start the daemon (A Windows-user would call it a "Service").

Markus
I have done nothing because I didn't know where to start. If you talk me through it I would be thankful. I have a terminal open on the virtual machine.
 
Old 08-06-2011, 04:02 PM   #14
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, you'll have to look at the manuals for Fedora. I don't have much experience with Fedore, afaik it uses yum (like RedHat and CentOs). You'll have to find out, if the bind-packages is already installed and if not, you'll have to install it.

If this is done you'll find the configuration-files which are mentioned in any bind-tutorial on the computer and can edit them.

Markus
 
Old 08-06-2011, 04:05 PM   #15
kenny53067
Member
 
Registered: Jul 2011
Location: Rio Grande City, Texas
Posts: 54

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by markush View Post
Well, you'll have to look at the manuals for Fedora. I don't have much experience with Fedore, afaik it uses yum (like RedHat and CentOs). You'll have to find out, if the bind-packages is already installed and if not, you'll have to install it.

If this is done you'll find the configuration-files which are mentioned in any bind-tutorial on the computer and can edit them.

Markus
How do I find bind?

Last edited by kenny53067; 08-06-2011 at 04:06 PM.
 
  


Reply



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
configuring DNS supersoup Linux - Networking 1 11-07-2009 07:34 AM
Configuring DNS manolia Linux - Networking 10 03-04-2007 04:39 PM
Configuring DNS kamransoomro84 Linux - General 4 11-21-2005 10:52 PM
configuring dns abhis_mail2002 Fedora 0 01-12-2005 05:41 AM
Please help me configuring DNS!!! dibakar Linux - Networking 12 04-14-2003 12:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:04 PM.

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
Open Source Consulting | Domain Registration