I don't get how
CNAME DNS records work.
I always thought setting
bar.example.org. CNAME foo.example.com.
would let me request
bar.example.org and receive
foo.example.com while I own the domain
foo.example.com, and somebody else owns
That doesn't make sense, because I could point any domains (even without permission) to my content.
So, I thought it's rather the other way around, and if I'm the owner of
bar.example.org I can point this domain to
foo.example.com. That would be weird as well, as my page would display somebody else's content that the owner might not even be aware of.
So how does a
CNAME actually work?