The issue I am facing:
I'm using Pi-hole mainly for the ad-blocking.
I'd like to add a separate host-file that gets total priority over everything. So if the entry is in this specific hostfile, Pi-hole answers with this, and ignore all further checks.
I'll generate the file from a php script so if it needs to be in a specific format (ie. non standard hosts format) I can work that out.
TTL should be small as the file will be updated every hour.
Details about my system:
Fresh PiHole setup on simple Ubuntu VM, dedicated to Pi-hole.