Unbound is an existing solution, providing all of the above.
Real Time Clock - this feature is not included on the Pi boards. They get their time signal from internet time servers.
Follow the referenced guide in the Pi-Hole documentation page and you will have suitable settings for unbound.