I want to allow smartphone apps I'm developing to communicate with my local development server by domain name when I am working in my home office.
I have installed a DNS server on my Synology NAS and generally it is working well for non-development resources. Development is problematic. I have created a master zone and records underneath it. The problem is that our wildcard SSL certificate only works for our public domain name (call it foo.com). This means I cannot speak HTTPS locally and I would prefer my development environment to be as close as possible to production, so I want HTTPS.
What I want is for the local DNS server to resolve queries for my development server (mydev.foo.com), and forward all other queries to the upstream DNS server. For example:
mydev.foo.com -> 192.168.1.3 (my local VM, resolved locally)
foo.com -> xxx.xxx.xxx.xxx (our public website, resolved by my ISP)
bar.foo.com -> xxx.xxx.xxx.xxx (our public app server, resolved by my ISP)
Right now if I set up a foo.com master zone (a forward zone), only the locally defined resource is resolved.
Is what I'm asking even possible?