local domain on LAN

local domain on LAN

Post by Afaq Ahma » Tue, 04 Nov 2003 19:35:20


Hello,

I have local DNS server on LAN , i want to resolve some of
the domains locally. That is say www.myname.com is not
registered with any registor. But when some body from LAN
check this domain it must go to local host(www web
server) via local DNS server. It must not go to external
DNS server.


looking to hear .

Regards,
Afaq Ahmad
 
 
 

local domain on LAN

Post by Simon Gear » Tue, 04 Nov 2003 21:46:33

To do this you have to create a forward lookup zone for myname.com on your
local DNS server. Then you can create a www A record that points to your
local web server.
This will of course break name resolution for the public myname.com servers
should the name ever be registered.

 
 
 

local domain on LAN

Post by michjoh » Wed, 05 Nov 2003 00:40:26

On your DNS server create the forward lookup zone for "mydomain.com". Then within this zone, create the host record you want the website to use. The most
common approach is to create a host record named "www" and point to the IP address of the server hosting the site.

Thank you,
Mike Johnston
Microsoft Network Support
--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at
http://www.yqcomputer.com/

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.