cannot ping external server by name except with -a option

I have set up an external server. I can ping it by ip address or name external to my network. Internally I can ping the ip address but not by name, the error is Could not find host. I can ping using -a option. nslookup internally gives the correct address from my dns server. Any sugggestions?
johnellyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

Hey there,

It would suggest that you have an internal DNS Server that is authoritative for the same zone as the external DNS Server.

You normally bump into this kind of situation when running Active Directory, where the domain name there is the same as the domain name of the external domain.

The solution is pretty simple. Any public DNS record within that zone you need to be internally accessible must be created (duplicated) on the private DNS Server.

Chris
0
ilantzCommented:
.. or you could allow your "console" or other range in an allow rule for the icmp protocol 0 in your firewall :) , because you resolve the server externalname to its external ip ...
0
johnellyAuthor Commented:
Yes, the internal zone is mycompany.co.uk and the external domain is somethingelse.mycompany.co.uk  Internally I put an A record pointing to the external server, is that sufficient?
0
Chris DentPowerShell DeveloperCommented:

Yep, that's all you need :)

You'll have to do that with any other public records under mycompany.co.uk if you need to resolve internally.

Chris
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.