I have a Windows Server 2012 R2 server, I'll call it DC1. My AD Domain is example.local.

I have created a DNS Forward Lookup Zone for "subdomain.example.com" (external domain which I have bought) My external domain, example.com, is hosted with GoDaddy. The A record points to the web server, which I have also bought.

I'm trying to get my dns zone (hosted on my internal server), to forward to my external subdomain, subdomain.example.com, so that I can create DNS records on my local server, and they will be the same on the external server when I use them.

Eg. I want it so that if I create an A record pointing to the IP on my internal server (DC1), it will be available externally, without changing my DNS.

I've tried different things, like having an A record on my external server point to the external IP of my internal server, but it will not work.

Will I need to try something with nameservers?

PS: I manage my external dns with CloudFlare.

Please help,

Dan :)

  • 1
    I would suggest that you don't do what it appears you are trying to do. Simply create an A Record in cloudflare that points to the external IP of the webserver and then either don't have a zone internally or mirror what you create externally on the internal server – Drifter104 Jun 9 '17 at 16:29

Internal DNS records are manage with internal DNS servers (AD DNS) - yes you can create internal records to access external servers - this records will be accessed by internal computers on your network.

External DNS records are manage with external DNS servers (CloudFlare DNS) - this records will be accessed by external computers outside your internal network.

You can publish internal services using external DNS records ( you need to own those IPs that you will publish externally) then create a firewall rule for that internal server that you want to access externally through the external DNS servers record.

Example :

External DNS ---> Firewall NAT/PAT ---> Internal server

Internal DNS ---> Firewall ---> External server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.