LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   DNS for LAN (https://www.linuxquestions.org/questions/linux-newbie-8/dns-for-lan-808732/)

sandysingharoy 05-18-2010 10:13 PM

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.

morphix 05-18-2010 10:20 PM

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.

HasC 05-18-2010 10:25 PM

Read this.

linuxlover.chaitanya 05-19-2010 12:04 AM

I would suggest you with djbdns. You can look for the tutorial HERE

salasi 05-19-2010 02:45 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3973603)
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?

linuxlover.chaitanya 05-19-2010 03:43 AM

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.

larryp7639 05-19-2010 04:12 AM

thanks you!

sandysingharoy 05-19-2010 05:10 AM

I have configured web server. and i want dns for that.


Quote:

Originally Posted by morphix (Post 3973525)
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.


salasi 05-19-2010 05:13 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3973783)
...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.

linuxlover.chaitanya 05-19-2010 05:31 AM

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.

larryp7639 05-19-2010 11:09 PM

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


]

linuxlover.chaitanya 05-20-2010 12:02 AM

Quote:

Originally Posted by larryp7639 (Post 3974942)
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.

rudrarajstays 05-20-2010 12:46 AM

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....

salasi 05-20-2010 03:46 AM

Quote:

Originally Posted by rudrarajstays (Post 3975002)
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.

vickey_n 05-20-2010 04:03 AM

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


All times are GMT -5. The time now is 11:01 AM.