Easy question about how dns works.
In simple form: What prevents inserting a taken domain name to a dns system?
Let's take an example:
I have bought a domain from domain registrar, let's pretend it's example.com.
Then I have a website at ip EXAMPLE_IP. For that app, I have cloudbased DNS system, where I have put dns record for example.com to match EXAMPLE_IP. Which means all requests to that domain will find their way to my website.
Now what would prevent someone to use that same example.com in some other dns system, and point it to some other website? What I don't yet know is where does the ownerhsip query of a domain name occur?
Please don't close, I just want to understand.