Please follow the below template, it will help us to help you!
DNS queries to be services at all times. (This once worked without issue for years)
Re-install of pihole on Ubuntu 18.04 (Hyper-V dedicated bonded NIC) sporadically will not resolve DNS. After several minutes DNS queries will be serviced again.
Additional: When the VM is shut down and the router DHCP/DNS re-enabled the network will work correctly and maintain functionality for days and weeks.