Posted on 2008-10-07
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