On Fri, 7 Mar 2003, Hitesh Sharma wrote:

> Hye...
> 
> We Have a Win2K Based Lan in Our Office that is never connected to the
> Internet.
> 
> What we are thinking 'bout is having a configuration in the LAN so that by
> having a Web server engaged in LAN we could connect it by typing the address
> 'www.MY-Domain.com'. Is it possible to have such kind of arrangement in a
> LAN that is never connected to the Internet, so that by having a WEB Server,
> the users think that they are connecting to the Internet, but actually they
> connect to the Local Web Server.
> 
> I think we could do this by having a DNS server. I have a box having RH 7.2
> with Apache running on it. I have tried having a DNS server by configuring
> named on it , but could not get it running.
> 
 You can achive this by putting entry in c:\windows_xx\hosts file.
 Before attemting to use DNS any client will see first in hosts file,
 next cache of dns then try dns. For you objective alone you don't
need to run DNS.


> Can any one help me with configuration of DNS on Linux so that i could refer
> the apache web-server running on that box by typing www.my-domain.com from
> my windows box.
> 

 DNS configuration:-
 /etc/named.conf you have to tell where the files are located and whether
 each zone it is master or secondary and encryption keys etc.
 Zone file you have to create as you mentioned in named.conf file.

 DNS and BIND fron orielly is good book. You can as well do some google
 and find out.

 If you put entries in every client you don't require to run DNS. If 
 address changes then it invites trouble. If you are running DHCP 
  on win2k then DNS is also running on that. Check it.

sam



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to