Describe the solution you'd like
Since resolved is a DNS cache server, it should be able to define its own DNS records and rules. However we can now only define those records through /etc/hosts, which is not capable for all kind of records, like CNAME.
Describe alternatives you've considered
There should be a rule set or record set configuration in resolved.conf or somewhere.