Our customer has a domain. Let's call it example.com.
We are running a VM in the network of our customer. Let's call it "our-vm".
The customer is accessing the vm with this name: our-vm.example.com.
The IP address is an internal for example 10.1.2.3
The name server of our customer (example.com) does not resolve the host name.
We have a VPN to our customer and are able to access 10.1.2.3 via IP address.
But I would like to access the host by name.
What I want:
- our-vm.example.com should get resolved by me (running a bind in our network)
- www.example.com, mail.example.com and other names should get resolved by example.com
How to configure bind this way?
Sub-question: is there a name for this type of configuration?
This is not a duplicate of (Overriding some DNS entries in BIND for internal networks) because I want example.com to be handled by the customer.