Is it possible to combine DNS name servers?

Question: Is it possible to combine DNS name servers?

For this example lets say that I lease the domain example.com through a service (godaddy, name.com, etc)

I have the option of pointing this domain and all it's records to a different nameserver however what if I want to keep this nameserver for things like the A records but point wildcard subdomains (*.example.com) to a different nameserver? Is this possible?

I have looked into NS records, however those only seem to be for the purpose of load balancing DNS across multiple servers.

In addition, the "custom" nameserver in this example would be a node application (dnsd)

Although I'm not sure if that is important.

To explain a little more (using local IPs for the sake of explanation):

My requirements are as follows:

These records are hosted on name.com for example:
A - example.com to ns1.name.com nameserver
A - api.example.com to ns2.name.com nameserver

These records are hosted on dnsd (a different nameserver):
A - *.example.com to 192.168.0.32 nameserver

Would a potential solution be to define a nameserver for example.com (ns.example.com) and then point an ns record of *.example.com to ns.example.com ?


Solution 1:

DNS records are a hierarchy. Anything at the same level (v1.example.com, v2.example.com, etc) will all be resolved by the NS records set for that level (example.com)

You can have different nameservers for different levels / subdomains if you are so inclined, for example (example.com at godaddy, subdomain1.example.com network solutions, subdomain2.example.com dns made easy).

This is called zone delegation.