LinuxQuestions.org
Visit Jeremy's Blog.
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 10-01-2008, 08:35 PM   #1
bwalton
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Question Setting up an all Linux Domain


I'm kinda new to Linux and this site so I don't know if I'm even in the right place but...
I'm setting up a domain with 5 different versions of Linux, and I need to set up the Ubuntu box as a domain controller with DNS and DHCP running on it.
Are there any simple tutorials that pertain to this?
 
Old 10-01-2008, 08:45 PM   #2
bwalton
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I almost forgot to ask the question I posted about... How do I set up Ubuntu as a DNS and DHCP server?
 
Old 10-01-2008, 10:28 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,868
Blog Entries: 27

Rep: Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163Reputation: 2163
Hi,

You are setting up a LAN with multiple computers running Linux?
How are you connecting the computers? Via a Switch, router or hub?

If you are using a router then why setup Ubuntu as a DNS and DHCP? Your router/modem will serve as a DHCP and DNS via your ISP.

Why setup a local DNS for such a small LAN? You could use your '/etc/hosts' file;

Code:
excerpt 'man hosts';


NAME
       hosts - The static table lookup for host names

SYNOPSIS
       /etc/hosts

DESCRIPTION
       This  manual page describes the format of the /etc/hosts file.  This
       file is a simple text file that associates IP addresses  with  host-
       names,  one line per IP address.  For each host a single line should
       be present with the following information:

              IP_address canonical_hostname [aliases...]
If your LAN is connect to the Internet then you must be using a ISP. The ISP will supply with a DNS that you could place in your '/etc/resolv.conf' file. Or through your modem/router.

This has been covered a lot on LQ. Do a search!
 
Old 10-02-2008, 10:33 AM   #4
bwalton
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Well actually i need to set up a domain with ubuntu as a domain controller. This is a project for school and it requires that we have a domain with a domain controller that runs DNS and DHCP.
My setup:
LAN with 5 linux boxes
All connected through a switch
The ubuntu computer is pointed to the teachers DNS so we can connect to the internet.

Thank you for the reply.
 
Old 10-02-2008, 11:51 AM   #5
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
DNS howto HERE and HERE
DHCP server HERE
 
  


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
Setting up an Linux domain controller at home Intern_Sean Linux - Newbie 5 03-28-2008 10:30 PM
Setting up a Linux Domain Server for XP 07mackenzie Linux - Software 1 01-24-2007 08:02 AM
setting up linux box as domain controller samills70 Linux - Newbie 2 06-09-2004 03:51 AM
Setting up a linux domain? nano_electronix Linux - Networking 2 02-10-2004 06:30 AM

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

All times are GMT -5. The time now is 09:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration