Forwarding a specific internal domain name to an external DNS server

Hello experts,

In our organization (domain.com), we have a remote branch which is connected to the internet through a dynamic IP. We use DynDNS to get into the branch using this FQDN: dynamic.domain.com

The problem is, inside the head office, when computers try to locate dynamic.dyndns.org, this DNS request is processed in our DNS server and not found.

How to tell the DNS server to forward request to the external DNS when a specific name is requested?
MuhajreenAsked:
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.

lockreytCommented:
Could you not add a secondary external dns entry on the client Pcs.  Ip settings in any client allows for more then 1 dns entry.
0
asiduCommented:
Do as suggested by lockreyt
First DNS should point to the dyndns servers and the second DNS of the clients
should point to your internal DNS server. This only involves changes in the client.


You could also try experimenting with Conical name and this modification need to be done in your own DNS.

Check out more on conical name usage at http://rscott.org/dns/cname.html


0
kevinhsiehCommented:
In your AD DNS put in a cname entry of dynamic.domain.com. and point it to your dynamic.dyndns.org. Entry. That will cause all internal DNS lookups for dynamic.domain.com to get resolved to dynamic.dyndns.org.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

MuhajreenAuthor Commented:
The dynamic host is dynamic.ourdomain.com, it's not dynamic.dyndns.org, and that is my problem.
0
kevinhsiehCommented:
Register the IP under anything other than under ourdomain.com and you should have no problems.
0
MuhajreenAuthor Commented:
A lot of users are using dynamic.ourdomain.com, so I can't replace it.
0
elawadCommented:
let you internal DNS server forward the requests that can not be resolved by him to an external DNS server like your ISP DNS server, this should resolve the external name related to DYNDNS issue.

you know how to set up forwarders on your DNS right?
0
MuhajreenAuthor Commented:
Yes, Forwarders are already setup on our servers, but they don't forward unknown names to the external DNS server. Is there any way to do so?
0
elawadCommented:
if you enable the forwarders and direct them to your ISP DNS server then you should do nothing hence the DNS server looks first in its own zones to resolve addresses and if it doesnt exist they directelly forwared the request to the forwarders DNS servers. you should make sure that on your proxy server or firewall the DNS request to and from outside is permitted.
0
kevinhsiehCommented:
My understanding is that the forwarders in MS DNS server are only used for domains for which is the server is not authoratative. A conditional forwarder is when you want to use a specific forwarder for a specific domain. Since dynamic.mydomain.com is part of mydomain.com, for which the DNS server IS authoratative, forwarders will not be used.

You can try to put in a conditional forwarder for dynamic.domain.com, and point that to your ISP or whatever external DNS server you choose, and that may work. A regular forwarder will certainly NOT work. Otherwise, use a CNAME as I described earlier. If you have public users also using dynamic.mydomain.com, you can add the CNAME to both the public and private DNS servers and then you can change the actual registration from dynamic.mydomain.com to yourdomain.dyndns.org.
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.