Hi,
I don't think Resolve-DNSName works with Single Label Domain Names. It does resolve NetBIOS names if you use the proper switch, but not SLDNs.
What I found though is this, which might help you work your way around Resolve-DNSNAme by using nslookup or one of the other methods and also catch errors in your script. There are also some nice examples, which might get you started:
Finding Non-Resolveable IP Addresses
https://tommymaynard.com/tag/resolve-dnsname/
Please let me know if it was really helpfull, thanks in advance!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Regards,
Stoyan