I've rented the domain example.com (including *.example.com) at Foobar Domains Inc.. I'd like to have my own nameserver ns1.example.com for example.com and *.example.com.
I can provide an NS record for example.com "ns1.example.com" and an A record for ns1.example.com "192.0.2.1" to ns1.foobardomains.com.
In this situation both ns1.foobardomains.com and ns1.example.com wold provide subdomains of example.com (A/AAAA/MX/...). ns1.foobardomains.com would provide ns1.example.com and ns1.example.com would provide everything else (plus example.com).
But... would this work at all (and why/why not) or would I nuke my own infrastructure? Could there be either a circular dependency tree (ns1.foobardomains.com doesn't feel/seem responsive for *.example.com including ns1.example.com for which only it has the A record due to the NS record) or an "unvisibility" of some subdomains (ns1.foobardomains.com feels/seems responsive for all *.example.com as it has one of them, ns1)?