local domain on LAN

  • Thread starter Thread starter Afaq Ahmad
  • Start date Start date
A

Afaq Ahmad

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
 
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.
 
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.microsoft.com/info/cpyright.htm

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.
 
Back
Top