LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-01-2009, 08:18 PM   #1
grcunning
LQ Newbie
 
Registered: May 2007
Posts: 18

Rep: Reputation: 1
local dns server with no internet access


In my computer networking class I have the option of doing a project where I set up a dns server for our classroom network. The problem is that this network is totally separate from the school network and we aren't allowed to connect it to the internet. I want all the machines to ping each other by name instead of ip using dns instead of host files on all 20 computers. I read on a site somewhere that you cannot do this because the dns queries will always go to the root servers. Is this correct? Is there some way I can do this using dns? The machine in question is using Ubuntu 9.04.
 
Old 10-01-2009, 08:32 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can do this, you only need access the root servers for systems that can't be found by the local DNS server.
Actually, DNS is hierarchical and your ISP's DNS cache would likely resolve a lot of names; otherwise the root servers would be flooded.
Anyway, there's a good guide here: http://www.linuxtopia.org/online_boo...5_ch-bind.html.
DNS is distro neutral at the cmd line.
 
  


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
Squid server not giving access to my local machine to internet ashish1983 Linux - Newbie 3 05-14-2009 12:15 AM
Local network DNS resolution fails, but DNS resolution to internet is OK farge Linux - Networking 6 05-28-2008 11:49 PM
Local network can't access Internet (Server can) Notwerk Linux - Networking 2 12-15-2005 03:19 AM
Local DNS server Quantum0726 Linux - Networking 3 08-19-2005 02:47 AM
Problem same DNS between Internet and local network b:z Linux - Networking 6 03-28-2005 06:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:55 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
Open Source Consulting | Domain Registration