Custom Dns With Cloudflared

Ok so the other day i was useing cloudflared in my vm and , the idea just hit me that can we use custom dns with Cloudflared !?

Use case is , it can be used to limit/ristrict some url in side the private networks.!

This sounds interesting. How do you do that?

Im asking if can i do that