How to build your own DNS using private bootstrap-nodes?

What you write sounds great on abstract level, but that is not how P2P networking is designed to work, so I don’t think it is quite implementable. I’m also not sure what problem you’re trying to solve in the process, but if it is the same as Can set up farm to connect to specified farm on internal network?, then there is an explanation there how to achieve it in a way that will actually work.