Running Microsoft DNS and need to direct domain.com to local IP

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
Ok, so I am running a dns server on 2008 server and its setup to do

companydomain.org

We have a site notcompanydomain.net that we need to resolve to the internal IP address, is there an easy way to have our current DNS server to return the internal IP rather than sending it up the chain to the authoritative dns server?
 

smakme7757

Golden Member
Nov 20, 2010
1,487
1
81
You will need to create a new DNS Zone. If the domain is different from your primary domain name.

I don't want to test on my primary DC and i don't have a lab environment up, but here is some info which should help. It's not a big job.

Create a new zone and an A record pointing to the IP of the internal server.

Scenario 2

Your public domain name is different, and you are hosting your webserver internally.
In this scenario, internet users access your domain name by connecting to the WAN (outside) IP address of your router.
To make this scenario work, with a different domain name than your internal domain name, you would need to create the external domain name as a zone on your DNS server.
Create a new zone using your external domain name.
Open DNS console.
Click on Forward Lookup Zones.
Right-click, choose new Zone, type in the name of the external domain name.
Once created, right-click the zone you just created, choose New Host Record.
Type in 'www' (without the quotes), and provide the internal Private IP address of your internal webserver.
If you want to access the site with http://domain.com/ (without the www), you would need to create a 'blank' host record.
How?
Right-click the zone name you just created, choose New Host Record.
Leave the name field blank, and provide the internal Private IP address of your internal webserver.
Source: http://social.technet.microsoft.com...-different-internal-and-external-domain-names
 

RadiclDreamer

Diamond Member
Aug 8, 2004
8,622
40
91
You will need to create a new DNS Zone. If the domain is different from your primary domain name.

I don't want to test on my primary DC and i don't have a lab environment up, but here is some info which should help. It's not a big job.

Create a new zone and an A record pointing to the IP of the internal server.


Source: http://social.technet.microsoft.com...-different-internal-and-external-domain-names

This is what I thought I might have to do, but I couldnt phrase what i wanted well enough into google to find the answer. Thanks a bunch, this looks like it should work.