LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   configuring DNS (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-dns-895949/)

kenny53067 08-06-2011 02:44 PM

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.

markush 08-06-2011 02:57 PM

What do you want to configure, the client or the server?

Markus

corp769 08-06-2011 02:57 PM

Hello,

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

Cheers,

Josh

kenny53067 08-06-2011 03:04 PM

Quote:

Originally Posted by corp769 (Post 4435483)
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.

markush 08-06-2011 03:12 PM

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

crts 08-06-2011 03:12 PM

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/

kenny53067 08-06-2011 03:21 PM

Quote:

Originally Posted by markush (Post 4435494)
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.

markush 08-06-2011 03:29 PM

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

kenny53067 08-06-2011 03:36 PM

Quote:

Originally Posted by markush (Post 4435507)
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.

markush 08-06-2011 03:38 PM

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

kenny53067 08-06-2011 03:44 PM

Quote:

Originally Posted by markush (Post 4435514)
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?

markush 08-06-2011 03:52 PM

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

kenny53067 08-06-2011 03:58 PM

Quote:

Originally Posted by markush (Post 4435518)
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.

markush 08-06-2011 04:02 PM

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

kenny53067 08-06-2011 04:05 PM

Quote:

Originally Posted by markush (Post 4435525)
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?


All times are GMT -5. The time now is 04:09 AM.