Windows 10: Issue with resolving hostnames while connected to p2s Azure VPN

Discus and support Issue with resolving hostnames while connected to p2s Azure VPN in Windows 10 Network and Sharing to solve the problem; Hi all. Our company have different web apps and web servers hosted at Azure. All people connects to private IPs of those resources via Azure p2s VPN.... Discussion in 'Windows 10 Network and Sharing' started by Ole Mas, Aug 11, 2020.

  1. Ole Mas Win User

    Issue with resolving hostnames while connected to p2s Azure VPN


    Hi all. Our company have different web apps and web servers hosted at Azure. All people connects to private IPs of those resources via Azure p2s VPN. All was good but on some Windows 10 workstations we faced an issue. Some howe it resolves not private but public IPs. Looks like that DNS settings of the network adapter somehow overrides DNS settings of the VPN connection.
    If set Azure DNS at the network adapter settings it resolves private IP but the workstation doesn't have access to the rest of world. If I add 1.1.1.1 or 8.8.8.8 to the network adapter settings additionally Azure DNS as primary dns and 8.8.8.8 as secondary dns it starts to resolve public IP again.

    Is there any way to use the DNS of the vpn connection when need to access azure resources and the DNS of the network adapter when need to access the rest of world? Does anybody know how to resolve this issue?

    :)
     
    Ole Mas, Aug 11, 2020
    #1
  2. SB-Chris Win User

    Azure client P2S VPN profile will not install

    I am unable to connect to my Azure Virtual Gateway via P2S VPN.

    I have followed the instructions provided by Microsoft
    https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal
    and was able to accomplish all of them without error until I got to step 12.

    When I attempt to run the executable VpnClientSetupAmd64.exe it flags it as malware by Windows Defender SmartScreen, which is a little annoying. I would assume Microsoft would have certified their own software.

    I tried to manually set up the VPN profile and got the error "The certificate's CN name does not match the passed value". Which sounds like a certificate error. I would like to connect to my virtual network through a P2S VPN connection.

    Please advise how I may correct this issue. I would like to connect to my virtual network through a P2S VPN connection.
     
    SB-Chris, Aug 11, 2020
    #2
  3. JeremyCountings, Aug 11, 2020
    #3
  4. Nikhar_K Win User

    Issue with resolving hostnames while connected to p2s Azure VPN

    Unable to connect to a non-Azure PC through VPN

    Hi Neil,



    Thank you for writing to Microsoft Community Forums.



    I appreciate the efforts taken by you in resolving the issue. I understand that you are unable to connect to a Non-Azure PC through VPN.



    We do have a dedicated forum for issues concerning to Azure account and VPN connection, let me point you in the right direction. I would suggest you to post your query in

    TechNet forums
    , where we have support professionals to address your query.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Aug 11, 2020
    #4
Thema:

Issue with resolving hostnames while connected to p2s Azure VPN

Loading...
  1. Issue with resolving hostnames while connected to p2s Azure VPN - Similar Threads - Issue resolving hostnames

  2. Azure P2S Basic Gateway

    in Windows 10 Gaming
    Azure P2S Basic Gateway: I have configured Azure P2S Basic gateway in my azure environment. When i try to install the Azure client in domain users account, we are not able to do it. But users having administration rights, are able to install it.Can you please let us know how to proceed connecting to...
  3. Azure P2S Basic Gateway

    in Windows 10 Software and Apps
    Azure P2S Basic Gateway: I have configured Azure P2S Basic gateway in my azure environment. When i try to install the Azure client in domain users account, we are not able to do it. But users having administration rights, are able to install it.Can you please let us know how to proceed connecting to...
  4. Azure P2S Basic Gateway

    in Windows 10 Network and Sharing
    Azure P2S Basic Gateway: I have configured Azure P2S Basic gateway in my azure environment. When i try to install the Azure client in domain users account, we are not able to do it. But users having administration rights, are able to install it.Can you please let us know how to proceed connecting to...
  5. azure p2s and express route gw integration

    in Windows 10 Gaming
    azure p2s and express route gw integration: I have an usecase, where i need to configure p2s in azure, as well as express route. one gw for p2s and one for express route. i want that vpn client who are using p2s should be able to connect to on premise too. how to make it possible...
  6. azure p2s and express route gw integration

    in Windows 10 Software and Apps
    azure p2s and express route gw integration: I have an usecase, where i need to configure p2s in azure, as well as express route. one gw for p2s and one for express route. i want that vpn client who are using p2s should be able to connect to on premise too. how to make it possible...
  7. Fix Minecraft Can’t resolve hostname issue

    in Windows 10 News
    Fix Minecraft Can’t resolve hostname issue: [ATTACH]In this post, we will talk about how to fix Minecraft Can’t resolve hostname problem. When a user tries to connect to its friend’s server or even join a new server, the problem occurs. The error indicates that Minecraft cannot connect to the hostname as the IP address...
  8. Azure VPN issue

    in Windows 10 Network and Sharing
    Azure VPN issue: Hi, I need help to set up Azure vpn. I checked background set up and permission is allowed. Still I am not able to connect. error: vpn platform did not trigger conncetion Eventviewer error: CoId={82C93745-2FD8-44A2-9E87-39818326CBDE}: The user SYSTEM dialed a...
  9. Connection issue to Azure

    in Windows 10 Customization
    Connection issue to Azure: When I try to connect a PC to Azure I do the following: Settings Accounts Access work or school Connect At this point, I do not get the alternate options section. I do not get the option to connect to Azure. All I get is set up a work or school account. Any...
  10. Azure client P2S VPN profile will not install

    in Windows 10 Network and Sharing
    Azure client P2S VPN profile will not install: I am unable to connect to my Azure Virtual Gateway via P2S VPN. I have followed the instructions provided by Microsoft https://docs.microsoft.com/en-us/azure/vpn-gateway/vpn-gateway-howto-point-to-site-resource-manager-portal and was able to accomplish all of them without...

Users found this page by searching for:

  1. custom dns server p2s