How to forward missing DNS names of an existing zone in Windows DNS server?

Solution 1:

Don't add a primary zone on your Windows DNS server for example.com. If you do that, it will consider itself authoritative for any record within that namespace, so it will never ask the outside world for answers.

Instead, add a primary zone for dev.code.example.com. In that zone you create an A record '*' with the IP you want to use. Don't try to create a PTR, it won't work.

enter image description here