I want to know why the url record I added in dns didn’t take effect?
It has nothing to do with the dns cache taking effect.
Because it’s been a long time (at least a few weeks now).
dns : Type = url , Name (required) = ww , Priority and Weight are both 10 , Target = https://www.example.com .
I asked my registrar and the answer I got was: “We don’t have any restrictions”.
My domain name suffix is: .hk .
Or is it a restriction from the registry? But I think there should be no .
I don’t really want to create urls via waf or whatever unless I have to.
I need to create url in dns. not rules or waf
That’s because that field is not a URL record that’s a URI (Uniform Resource Identifier)
If you’re trying to do URL forwarding you need to set a rule for that. It’s done in the dashboard for the domain name in question in Cloudflare under Rules → Page Rules.