Nslookup fails to find domain for TLS Certificate on VM


Nextcloud version (eg, 20.0.5): 22.2.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu Server 20.04.2
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.41
PHP version (eg, 7.4): PHP 7.4
The issue you are facing:

I am running the NextCloud VM .ova on VirtualBox preconfigured from Hansson IT.

When trying to activate and install the TLS Certificate through Let’s Encrypt (running through the menu.sh script) I get the following error:

 DNS lookup failed with nslookup. Please check your DNS settings! Maybe the   │
│ domain isn't propagated?                                                     │
│ You can use this site to check if the IP seems correct:                      │
│ https://www.whatsmydns.net/#A/my-domain.com

When I do a manual nslookup I get the following:


Non-authoritative answer:
*** Can't find my-domain.com: No answer

I have verified the domain is populated and has the correct IP address here: www.whatsmydns.net

I am running PiHole + Unbound for DNS

I am able perform a successful nslookup on other computers: Linux, Windows, Linux client on VM.

I have reinstalled the vm appliance from scratch several times.

I have done an nslookup search on these forums and was not able to find anything that was related to this issue.

Any ideas? Thanks for your time and help.