PiHole directing own domain to 127.0.0.1

If I ping my domain name from the VPS that yunohost+pihole is running on, it tries to reach the external IP of the server.

It might be worth mentioning that this might be an intended feature, as mentioned here: