LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 09: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, 09:32 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
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


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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration