Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dead Easy DNS Question....

Status
Not open for further replies.

Jonesie123

IS-IT--Management
Mar 19, 2004
4
GB
Pretty basic - How do you force a Microsoft DNS Server to provide internal clients an internal Server IP addresses for an FQDN rather than the external one that it gets from an ISP’s DNS via Forwarders?
Ie. Override the internet DNS setting in your local DNS config? (Keep in mind I currently know very little about MS DNS!!) Should be pretty straightforward I imagine.

Here is some background …
I have a Web Server which I want to be accessible on the internal LAN and externally via the Web.

DC is running DNS, AD, and Web. External access works fine - The website name works in IE – is listed in DNS (which is the external IP of our router), this is then forwarded via the router to the internal IP address and the web server responds via Host Headers. No worries.


However, for internal PC’s, clicking that link has the same effect, in that they are directed to the external IP of the router and not the internal Server – the router sees the request, but does not forward it back inside the to the internal LAN, but rather processes it locally and you get the Router Web Admin page.

What I want is for the local DNS server to recognise that this is a local server and respond with the local address.

Any thoughts very welcome!!

 
create additon dns records for th ewebiste name pointing to the internal IP might have to ceate a zone for it
 
Thanks, I kind of thought that too. It is more the How do I do it that I need though?

 
OKay, I have sort of guessed my way through this - can anyone confirm if I am on the right track here - it seems to have worked...

Added a new zone called "mycompany.net", then added a new host within the zone called "www" with the internal IP address.

I then ran ipconfig /flushdns and it now pings as it should.
 
Yep that sounds right, give us the web address i will check from the web
 
OK, thanks. Problem now is that (thinking I was being more tidy), I created a Zone called "com" and I put 2 internal domains and into it. That worked fine except now none of my clients can see any external websites ending in .com!!! Bit of a problem!!

I have deleted the com zone, but the problem remains - any idea how I tell my DNS server to go back to using the external forwarder IP addresses for .com again!!?!?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top