Based on the information you provided, it seems like there may be some configuration issues with your Point-to-Site (P2S) VPN connection to Azure.
Here are some possible reasons why you are unable to ping back to your on-prem network:
- Subnet configuration: Ensure that the address space of the VNet in Azure (10.0.0.0/24) does not overlap with the on-premises network (192.168.99.0/24). If there is an overlap, you may experience routing issues.
- Routing: Ensure that the routes are properly configured on the on-premises VPN device, and that traffic from the on-premises network is correctly routed to the VNet in Azure. Also, ensure that the routing is configured in Azure correctly.
- Firewall: Ensure that the firewall rules are configured correctly to allow traffic between the on-premises network and the Azure VNet.
Regarding your issue with no internet access when connected to the VPN client, this could be due to a misconfiguration of the VPN client or the VPN gateway in Azure. You may need to check the DNS and default gateway settings on the VPN client to ensure that they are configured correctly.
Lastly, regarding the DNS server not being available in the P2S VPN, you need to ensure that the DNS server is configured correctly in the Azure VNet, and that the VPN client is configured to use the correct DNS server.
I recommend checking the Azure VPN Gateway logs and the on-premises VPN device logs to see if there are any errors or issues that can help identify the problem. You can also try running a network capture to see if the packets are being routed correctly.