Avatar of jgrammer42
jgrammer42
 asked on

Can Cisco resolve internet address internally

Here is the situation.  I have an internet domain of CORPORATION.COM

Exchange is the mail server with the DNS name of MAIL.CORPORATION.COM on the internet.

MAIL.CORPORATION.COM is used by laptop, (for example), for Outlook Anywhere access.

MAIL.CORPORATION.COM resolves to internet address of 200.250.192.100  (again, just an example)

My Cisco ASA NAT's the external IP of 200.250.192.100 to the internal LAN address of 192.168.1.50

All of that works great.  No problems.

However, when someone with a laptop comes into the corporate office, and tries to resolve the name of MAIL.CORPORATION.COM,  the internet DNS responds with 200.250.192.100 which the Cisco is unable to resolve or map back to the internal network of 192.168.1.50, which is the Cisco's internal known IP network.

For years, the way around this is to set up on the INTERNAL LAN DNS a CORPORATION.COM domain, that all local LAN clients would use to resolve back to the internal LAN network of 192.168.1.y, instead of to an external Internet address.

Frankly, I HATE that solution.  I always thought it was kludgy at best.

So, the question is this, is there a way to configure the Cisco that if it sees an internet address that maps to its known internal LAN network IP, it will automatically respond back with that internal LAN address instead of just getting stuck in a loop?

Thank you in advance,
Jeff
RoutersCiscoDNS

Avatar of undefined
Last Comment
jgrammer42

8/22/2022 - Mon
footech

In my opinion, a split DNS really is the best way to handle things like this (not sure why you would consider it kludgy).  If you only have one or a few resources that should resolve to a different IP depending on whether the client is on the internal network or coming over the internet, then you can create specific zones for those resources rather than creating one zone to cover all of CORPORATION.COM.  For example, you would create a zone for MAIL.CORPORATION.COM and then create an A record in it with a blank name which points to the internal IP.  This leaves other queries for records in the CORPORATION.COM domain (anything not like xxx.MAIL.CORPORATION.COM) free to be resolved by records on the public DNS.

I've no clue whether your Cisco could do what you ask, but I would be quite surprised if it could.
ASKER CERTIFIED SOLUTION
Craig Beck

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
jgrammer42

ASKER
Hi Craig,
This appears to be exactly what I was looking for.  I will test this out this weekend and see how it works.

Thank you,
Jeff
jgrammer42

ASKER
thank you
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck