Cannot access VPN using hostname on the Anyconnect client

Posted on 2012-08-31
Last Modified: 2012-09-04

I have this issue where remote clients are not able to VPN into the network using the hostname but they have to use the FQDN of the server on the Anyconnect. This happens only from a particular hotel network. Everywhere else the vpn client works fine and users can connect normally. Can anyone suggest a solution for this?
Question by:saptar10
    LVL 22

    Assisted Solution

    by:Matt V
    Normally, a domain computer will search in it's domain for the host.  So if the VPN server is and you type vpn into the Anyconnect client, it will find it.

    Sometimes this lookup fails though, so as a rule of thumb you should always being using the FQDN when accessing your servers from an outside network.
    LVL 20

    Accepted Solution

    it is quite likely that that hotel network has a local dns entry for its own vpn, so your laptop it getting the wrong resolution, whereas other hotels arent returning an entry and it is finding it either as a cached entry or as matt explains above.

    you could check by doing a ping from command prompt in the hotel and seeing what the Ip address is that is resolved.

    you could resolve this by either making a host file entry in the laptop or simply use the FQDN - which I would recommend anyway.
    LVL 2

    Expert Comment

    Try to Push DNS from Anyconnect Server or setting a Split DNS.


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
    ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 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

    17 Experts available now in Live!

    Get 1:1 Help Now