Solved

nameserver setup

Posted on 2008-10-07
3
240 Views
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 ( 192.168.2.1)

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 : 192.168.2.1

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

0
Comment
Question by:fosiul01
3 Comments
 
LVL 4

Accepted Solution

by:
tjilp earned 250 total points
ID: 22659593
Hello,

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

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

Cheers
Tjilp
0
 
LVL 14

Assisted Solution

by:agriesser
agriesser earned 250 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:

http://tuxx-home.at/archives/2008/08/08/T21_37_51/
0
 
LVL 29

Author Comment

by:fosiul01
ID: 22659649
Thanks thats what i wanted to know.

thanks agriesser for the tutorial aswell.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now