CNAME records pointing to pi.hole return 0.0.0.0

Aha I see:

$ dig +short @localhost pihole.mydomain.net
pi.hole.
0.0.0.0
$ dig +short @localhost pi.hole
127.0.0.1

EDIT: It did used to work via the API: