Branch office DC DNS Problem initiating VPN connection and resolving main office clients

I have a domain controller instaled in a branch office, and i use VPN/Routing and remote access to establish the VPN link between this DC and the Main office DC.
the problem that im facing is that i'm using DynDns, so when the DC starts it needs to dial the VPN connection thus i have to put our ISP DNS IP(213.x.x.20) so that the branch office resolve the IP address of my main office. but after establishing the connection it cannot resolve the client names in the main office as the primary DNS of the server is actually the ISP, so every time i have to change it back to the main office DNS IP (

is there any way to resolve this issue?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

Todd GerbertIT ConsultantCommented:
Use static IP addresses. You should be able to obtain static addresses from your provider(s) for relatively little expense, if any.
FemSteenkampIT managerCommented:
if it is a DC, have it host the DNS service locally at the branch, and point it to it to iself for DNS. easiest would eb to make Dynamic DNS AD intergrated ( or alternatively zone transfer to teh branch DC.

make sure the DNs forwarder for teh Branch DC( also now DNS) point to ISP dns
stalliondzAuthor Commented:
i tried the proposed sollutions and nothing worked, so i had to take the DC to the main office and configure it again from scratch using the following guide:

and then took it back to our branch office (the next day after making sure that all the domain controllers have replicated successfully) and installed it and it's working just fine now.

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

From novice to tech pro — start learning today.