Based on your nslookup result, the DNS resolution is not happening correctly.
Note: 168.63.129.16 is a special Azure internal DNS IP that is only accessible by Azure VMs. VPN Client users cannot use 168.63.129.16 for DNS resolution.
To resolve the issue, you may use one of the following methods.
- Local hostentry-Easy method
Path of local Hostfile : C:\Windows\System32\drivers\etc
10.224.0.4 bda7ddb4-662a-4776-945b-d40289bcfb86.privatelink.eastus.azmk8s.io
10.224.0.4 demo-aks-aks-rg-98bcca-v140dnbh.hcp.eastus.azmk8s.io(API Server)
Hostname.
- Azure Private DNS Resolver + Additional VPN Client configurations—Follow the Azure DNS Private Resolver and Configure Azure VPN Client – Microsoft Entra ID authentication – Windows
I hope this is helpful! Do not hesitate to let me know if you have any other questions.
I really appreciate your feedback. It’s valuable to us. Please click Accept Answer on this post to assist other community members facing similar issues in finding the correct solution.