LinuxQuestions.org
Review your favorite Linux distribution.
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 05-18-2010, 11:13 PM   #1
sandysingharoy
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Rep: Reputation: 0
DNS for LAN


I am using RHEL5. I want to configure DNS for my LAN. please help me by giving step by step configurations. thanks in adv.
 
Old 05-18-2010, 11:20 PM   #2
morphix
Member
 
Registered: Nov 2007
Location: Newcastle, Australia
Distribution: Ubuntu, Debian, Arch
Posts: 53

Rep: Reputation: 15
You have a number of choices, what exactly is the purpose of wanting this DNS server?

If you can explain why, i can possibly provide suggestions.
 
Old 05-18-2010, 11:25 PM   #3
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
Read this.
 
Old 05-19-2010, 01:04 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I would suggest you with djbdns. You can look for the tutorial HERE
 
Old 05-19-2010, 03:45 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by linuxlover.chaitanya View Post
I would suggest you with djbdns.
There are certainly circumstances for which DJBDNS is appropriate, but I have no idea whether this is one of those, or whether another solution might be more appropriate under these circumstances.

Quote:
I want to configure DNS for my LAN. please help me by giving step by step configurations.
Really, it impossible to answer this question thoroughly without more information (unless, you are prepared to write a 100 page plus tutorial to cover every configuration and option...see, for example the books DNS and BIND, and the DNS Cookbook to get an idea of how involved it can get just covering all of the options for just one resolving package....as you can imagine, covering, say, half a dozen packages multiplies that complexity significantly). As it would be unreasonable to turn up at a site like this and tell people to write you a tutorial of that magnitude, I assume that the OP had something different in mind.

Could you give more information about your exact situation, please?
 
Old 05-19-2010, 04:43 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I understand but there is so little information that helping with bind is impossible. And DJBDNS is a nice small fast dns server. I would prefer it over bind.
 
Old 05-19-2010, 05:12 AM   #7
larryp7639
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
thanks you!
 
Old 05-19-2010, 06:10 AM   #8
sandysingharoy
LQ Newbie
 
Registered: Jul 2009
Posts: 17

Original Poster
Rep: Reputation: 0
I have configured web server. and i want dns for that.


Quote:
Originally Posted by morphix View Post
You have a number of choices, what exactly is the purpose of wanting this DNS server?

If you can explain why, i can possibly provide suggestions.
 
Old 05-19-2010, 06:13 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by linuxlover.chaitanya View Post
...And DJBDNS is a nice small fast dns server. I would prefer it over bind.
Yes, guessing what the OP wants, DJBDNS is probably more appropriate than BIND, but DNSMasq is probably more suitable than DJBDNS (testing does show it to be smaller and faster, but that may be irrelevant). But, if my guess of the OPs requirements is wrong, then maybe DJBDNS is more appropriate than DNSmasq, or, maybe maradns. Or, Pdns.

Last edited by salasi; 05-19-2010 at 06:13 AM. Reason: typo
 
Old 05-19-2010, 06:31 AM   #10
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Well I guess OP does not require a resource hog and should be able to do off with djbdns or mara as you said. And I believe it would not also go online. May be for intranet purposes. And something that can run off the same machine as apache would be great. I would love to run multiple application off the same machine and save some money and resources as well.
 
Old 05-20-2010, 12:09 AM   #11
larryp7639
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
Hi, I am a new member of forum. Would a newcomer be warmly welcome here? Good day you guys!!!


]
 
Old 05-20-2010, 01:02 AM   #12
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by larryp7639 View Post
Hi, I am a new member of forum. Would a newcomer be warmly welcome here? Good day you guys!!!


]
Hi Larry, you would be most welcome. But this is not the place to introduce yourself. We have a forum for Members Intro. Not a good idea to hijack threads from other users.
 
Old 05-20-2010, 01:46 AM   #13
rudrarajstays
LQ Newbie
 
Registered: Nov 2008
Posts: 18

Rep: Reputation: 1
the package for configuring dns in linux is bind. please install the bind and bindchroot rpm packages. the installation of these packages would create the following path /var/named/chroot. now go to the directory which contains the sample configuration files. it is /usr/share/doc/bind*/sample. here you would find two directories namely 'etc' and 'var' copy these two directories and paste them in /var/named/chroot. then go inside /var/named/chroot/etc and open named.conf file and difine your zones namely the forward lookup zone and the reverse lookup zone. once it is done go /var/named/chroot/var/named and create the zone files and populate it according to your needs.

you can also download a video tutorial from this location http://cbt4free.org/videos.php

have a great time ahead....
 
Old 05-20-2010, 04:46 AM   #14
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,052

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by rudrarajstays View Post
the package for configuring dns in linux is bind. please install the bind and bindchroot rpm packages.
This is a misstatement of the situation. There is not one single package for DNS in Linux, but several. Earlier in the post, there has been discussion of which out of the several would be appropriate for the OP's situation. Please read that discussion again before apparently dismissing the use of other packages in order to recommend 'the' package that must be used.
 
Old 05-20-2010, 05:03 AM   #15
vickey_n
LQ Newbie
 
Registered: Nov 2009
Posts: 21
Blog Entries: 1

Rep: Reputation: 3
How to configure linux dns server step by step guide Example and Implementation

I have already answered this question before. If need step by step DNS configuration for LAN then use this link

http://computernetworkingnotes.com/r...dns_server.htm

It will give you the step by step configuration for DNS in LAN
 
  


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
DNS on LAN sahmad99 Linux - Server 1 07-09-2007 04:11 AM
How to configure DNS for a local LAN (at least I think I want DNS) FlyingPenguin128 Linux - Networking 8 12-11-2005 05:15 PM
two lan, one dns nmarmol Linux - Networking 1 09-08-2005 10:38 PM
Lan Dns reggie Linux - Networking 2 08-03-2004 09:05 PM
Lan DNS Null Linux - Software 1 12-10-2002 03:42 PM


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