How to make Pi-hole pick a specific host name?

in which case it might be better doing custom queries direct on the DB as outlined here