The situation
We are migration our web-applications to AWS. To connect our on-premise network and AWS we have created a VPN connection. This works without problems.
On-premise we have a MS AD (2008 R2) that is an authoritative server for (among others) ourcompany.tld (not actual domainname ;) )
On AWS we want all internal service to be named like: *.dev.ourcompany.tld. This DNS should be resolved by internal route53.
On AWS public resources are named *.ourcompany.tld. This DNS is resolved by our own nameservers. (working)
The problem
On our on-premise network we want to be able to resolve someserver.dev.saa.nl. To achieve this our MS ActiveDirectory needs to be told to do a lookup on AWS for this domainname.
AWS internal route53 is only accessible from within the AWS VPC. AD cannot reach this directly.
AWS internal route53 is only accessible through a VPC DNS forwarder which is non-authoritative.
MS AD requires an authoritative source for stub-zones and conditional forwarders.
What we have done / tried
- Create a DNS forwarder in the VPC. This forwarder is non-authoritative. It works good when you setup the DNS forwarder as primary DNS on the computer itself. ActiveDirectory does not allow us to create a stub-zone or conditional forwarder with the message that the server is not authoritative.
- Create a DNS server with a stub-zone for dev.ourcompany.tld in amazon VPC. When creating a stub-zone it will report as being authoritative, however since we can only resolve DNS over the VPC DNS forwarder (on VPC IP + 2) it refuses to create the stub as its source is not authoritative. Direct connection to the authoritative master returns state REFUSED.
searched AWS docs. The only proper solution we have found is https://aws.amazon.com/blogs/security/how-to-set-up-dns-resolution-between-on-premises-networks-and-aws-using-aws-directory-service-and-amazon-route-53/ However the frankfurt region (to which we are bound by regulations) does not have simple AD. A full MS AD on AWS will also work but we are not prepared to pay €300+ per month for a dns forwarder
Contact AWS support. After a week of lengthy waits they still don't seem to understand the issue. We are on business support plan.
Can anyone please give some directions in how we can solve this using our existing AD?
Update: Routing another domain to AWS internal route 53 works by simply ignoring the error with a conditional forward. However for a subdomain we would need to make a delegation which in turn throws a SERVFAIL when queried.
Update 2: It does not appear to be possible. Also AWS tech support gave up. We have now registered another domain name for all our servers and services and used a fixed DNS in our AD to setup the services used by others than the IT dep. with a proxy in EC2 that translates it to the LB DNS names.