nameserver setup

Posted on 2008-10-07
Medium Priority
Last Modified: 2012-05-05
HI let me give you the idea how i am trying to setup
its for my tranning purpose so ignore me if what i am tryign to do  its not practical

i have router which is connect to Internet ( I disble the DHCP) so 2 pc is connect to that router as a static Ip

and curently /etc/resolv.conf : the IP of router (

so both pc can resolv any internet request.

but what i am trying to do is

i will make one linux box as : LDAP server, DNSSErver

now From the server if keep /etc/resolv :

and then if i installed bind in that server.

now the other pc(client) which would be connected to the router as well but i will chagne the /etc/resolv to the Ip of server ( instead of router IP, i want it to resolv address from SErver)

will it work ?? ( Please note , both pc would be connected to the router, I want to configure One pc as a server but another pc i want to resolv address from that server instead of router)

as i said, its not practical, but its for my own tranning.
i just want to know will it work or not,

basicaly i will try to implement anyway but if any one can assure me that would be fantastic

Question by:fosiul01

Accepted Solution

tjilp earned 1000 total points
ID: 22659593

Yes it will work. (if you configure it correctly)

Running a local caching dns is usually no problem at all.

LVL 14

Assisted Solution

agriesser earned 1000 total points
ID: 22659612
Yes, that works.
I once wrote a small howto for a basic bind DNS nameserver configuration for small networks, you might want to check it out.
It's a step-by-step instruction that should get you up and running easily, here's the link:

LVL 29

Author Comment

ID: 22659649
Thanks thats what i wanted to know.

thanks agriesser for the tutorial aswell.

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question