@vertices86 Thank you for reaching out to Microsoft Q&A.
I understand that you are trying to resolve the DNS name of the IP address that you associated to the VGW but are unable to resolve it.
If you associate an IP to the Virtual Network Gateway, you cannot resolve the DNS name of that Public Ip for the gateway. However, if you need the Public IP for P2S VPN, you need to use the IP address of the VGW or you need to use the FQDN given in the downloaded configuration file. If you need for S2S VPN, you need to only use the IP address. If you need it for Local Network Gateway, FQDN is supported and you can use it if you have a dynamic IP on your side. Hope this helps.
Please let us know if you have any further questions and we will be glad to assist you further. Thank you!
Remember:
Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
Want a reminder to come back and check responses? Here is how to subscribe to a notification.