I am attempting to set up a DNS server on the following network.
cable modem = pt. of entry
-> Cisco 831 router
-> Web server (windows 2003 enterprise)
-> Web server (windows 2003 enterprise)
-> switch
-> 4 client machines
I do not have a domain, all servers are just a member of the workgroup "WorkGroup" I am setting up the DNS server on my LAN because while developing web applications on our LAN our Cisco router refuses to let us view web pages via the WAN external IP address (or if we try a domain name - like (
www.asitewemade.com) that points to our WAN IP address). There are workarounds but they are all fairly ugly
example if we want to browse
www.some_site_we_made.com - we can not go "out" through the cisco router then come back in, I think it's referred to as a split-horizon problem.
ANyway I just want a DNS server that says to us on the LAN, "hey I see you attempting to access
www.some_site_we_made.com and let's not go out the router, but rahter just stay on our LAN
so instead of trying to resolve
www.some_site_we_made.com to our external WAN IP, it routes to our local LAN IP, which works fine when we force it to do that.
PROBLEM / QUESTION - I installed DNS server one one of the servers, and I need to know if it will work without an existing windows domain on our network -
when I point a client machine, behind the router on our little LAN, to the DNS sever I set up (make it the primary and only DNS server in TCP/IP) - it does forward the traffic out ot our ISPs DNS server via the forwarder settings.
How do I tell the DNS server to take, for instance,
www.internxchange.com (a site we made and host) and not go out of the router to try and resolve it, but rather to forward it to our production web servers LAN address (192.168.1.71)
I tried to add
www.internxchange.com as an entry in a Forward lookup zone I created and tell it to point to 192.168.1.71, but it doesn't it still tried to go out the router and come back in and it causes the "split horizon" problem - in a nutshell we get either a blank web browser screen or it asks us to log into the router (just as if we typed the routers LAN IP address in a web browser window and attemted to adminster control of the router)
HELP PLEASE - thank you very very much
lmhosts file is queried for resolution of name/ips before going to a dns server
an entry like this will work on the clients
www.internxchange.com 192.168.1.71