Solved

Cisco AnyConnect client and DNS Suffixes

Posted on 2011-09-20
4
3,105 Views
Last Modified: 2012-05-12
I'm having a problem with DNS suffixes. We have a Windows 2008 R2 server running DNS services. We have several internally hosted zones (ie. mycompany.local, mycompany.com, mycomp.com). Two of the zones (mycompany.com and mycomp.com) are also hosted externally (so our DNS is split between internal and external). It's a pain maintaining both, but that's what we have. The mycompany.local zone is our internal Active Directory domain.

While in the office, everything is fine. We have a group policy that appends all of our DNS suffixes so that we can resolve by shortname regardless of what zone the record lives in.

However, when we connect via VPN to our Cisco ASA device (using the Cisco Anyconnect client version 2.5.x), we have problems (SSL not ipsec and we do have split tunnel enabled). The ASA device hands out the correct internal DNS servers and also the default domain of mycompany.com (many of our resources are in mycompany.com internally which is why mycompany.local is not passed out instead).

However, on my domain joined workstation, when I connect to public wifi and then to VPN, I can only ping things (via shortname or unqualified name)  in the mycompany.local domain. All addresses will work if we use the FQDN. Is this because my primary dns suffix is mycompany.local? Does primary dns suffix trump whatever is being passed in by the anyconnect client and ASA? I have noticed this:

The AD GPO uses the following registry key for DNS Search order:

HKLM\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\SearchList

The AnyConnect client uses this key:

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\SearchList

The GPO we use does have mycompany.local listed first? I guess the million dollar question is why can I only resolve names to mycompany.local? I would have thought that if the anyconnect client was modifying the registry for it's own use, then it would use this key? However, it appears to be using either the machines primary dns suffix or the AD GPO suffix list (regardless, it never seems to use more than 1 domain for lookups). Is there something I can do to allow things to work as they do in the office?

I realize this was very convoluted. I can clarify if necessary.

Thanks,
Tim
0
Comment
Question by:timmr72
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 

Author Comment

by:timmr72
ID: 36569053
One important detail I left out (sorry). When I ping a shortname that doesn't exist in mycompany.local but does exist in mycompany.com (internal DNS only, not on the external side), it resolves a public address I don't recognize. I'm guessing it doesn't bother trying to resolve to the next suffix as it got an answer for mycompany.local. Still, how it resolved a public address (that I don't know) for this internal only zone I don't understand.
0
 

Author Comment

by:timmr72
ID: 36570061
I'm going to try and simplify.

I would like to be able to VPN into my office and be able to connect to devices by shortname regardless of what DNS zone they are a member of. For example, I'd like to ping the following:

ping server1
resolve to server1.mycompany.local (works as expected today)

ping server2
resolve to server2.mycompany.com

ping server3
resolve to server3.mycomp.com

Right now, we have split tunneling enabled on the ASA device and "DNS Names" is set to inherit. All server names resolve to the correct IP address if using FQDN, but only servers in mycompany.local will resolve correctly when using a shortname.
0
 

Accepted Solution

by:
timmr72 earned 0 total points
ID: 36577392
We're going to go with a "work around".
0
 

Expert Comment

by:doughold
ID: 37564061
I am having this exact same issue. What did you do to resolve this?
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of the companies I’ve worked with have embraced cloud solutions due to their desire to “get out of the datacenter business.” The ability to achieve better security and availability, and the speed with which they are able to deploy, is far grea…
When speed and performance are vital to revenue, companies must have complete confidence in their cloud environment.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

696 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