IT -  Access DNS from VPN

Posted on 2012-08-11
Last Modified: 2012-08-11
When I remote into one VM at my office, I can ping  'PCNAME' and ping successfully.
When I connect via VPN to my office, I can not ping 'PCNAME' successfully. Can not find name.  However, I can ping successfully using 'PCNAME' IP address directly.

When I do ipconfig/all on both case, I can see it point to the same DNS.
Question by:tommym121
    LVL 8

    Accepted Solution

    What kind of VPN do you use?

    I have had the same issue and I just created a static DNS entry on in the host file located in C:\Windows\system32\drivers\etc\host

    For example:       MAILSERVER
    LVL 10

    Assisted Solution

    by:Gajendra Rathod
    I think, DNS query port (UDP 53) is blocked by your firewall for VPN network.

    Please check DNS query using

    nslookup command

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Suggested Solutions

    #Citrix #Citrix Netscaler #HTTP Compression #Load Balance
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
    Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now