What's the correct way to configure this? ....
So I have a registered domain, let's call it thecompany.com, and I've set some A Records to point to the public IPs of various servers.
One of these A Records is for a ScreenConnect server, which uses sc.thecompany.com
The company internal domain is ad.thecompany.com (internal only -- no A Record)
The ScreenConnect server uses a different public IP to the rest of the computers on the domain, but it is part of the domain and is accessible on the local network (via 10.10.10.231).
All of this works perfectly, but now I want the domain computers to connect to the ScreenConnect server via its LAN IP rather than its public WAN IP. In other words, I want to redirect calls to sc.thecompany.com to 10.10.10.231
Now I can do this easily by modifying the Hosts file, which (for test purposes) I have tried and it works fine, but I would prefer to do it the proper way, using the local DNS server.
tl;dr:
So, to summarise, how exactly do I add a CNAME Alias (assuming that's what I need to add) to the DNS server (2012 R2) that will simply forward sc.thecompany.com requests to 10.10.10.231?
I have tried adding it to the domain's Forward Lookup Zone, but of course it wants to suffix the host name with ad.thecompany.com, creating an FQDN of 'sc.thecompany.com.ad.thecompany.com'. And I've tried creating a new Forward Lookup Zone for sc.thecompany.com, pointing it to the internal IP, but can't seem to get that to work.
What am I doing wrong?
So I have a registered domain, let's call it thecompany.com, and I've set some A Records to point to the public IPs of various servers.
One of these A Records is for a ScreenConnect server, which uses sc.thecompany.com
The company internal domain is ad.thecompany.com (internal only -- no A Record)
The ScreenConnect server uses a different public IP to the rest of the computers on the domain, but it is part of the domain and is accessible on the local network (via 10.10.10.231).
All of this works perfectly, but now I want the domain computers to connect to the ScreenConnect server via its LAN IP rather than its public WAN IP. In other words, I want to redirect calls to sc.thecompany.com to 10.10.10.231
Now I can do this easily by modifying the Hosts file, which (for test purposes) I have tried and it works fine, but I would prefer to do it the proper way, using the local DNS server.
tl;dr:
So, to summarise, how exactly do I add a CNAME Alias (assuming that's what I need to add) to the DNS server (2012 R2) that will simply forward sc.thecompany.com requests to 10.10.10.231?
I have tried adding it to the domain's Forward Lookup Zone, but of course it wants to suffix the host name with ad.thecompany.com, creating an FQDN of 'sc.thecompany.com.ad.thecompany.com'. And I've tried creating a new Forward Lookup Zone for sc.thecompany.com, pointing it to the internal IP, but can't seem to get that to work.
What am I doing wrong?