Office 365 DNS records on internal domain

My internal domain is company.com.  Our email is hosted with Office 365.  My external DNS is correct, do I need an MX record and autodiscovery on the internal side?  The reason I ask, is I currently do, but using my local DNS takes autodiscovery forever, like 10-15 minutes.  If I switch my DNS to Google, it's almost instant.  Thanks
LVL 2
bergertimeAsked:
Who is Participating?

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

x
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.

jorge diazSECommented:
since you have the same domain name on the private and public network i'd create all office 365 dns records (cname and MX) in your internal dns zone.

i'm surprise autodiscovery takes so long in your internal network, before creating anything i would make sure i have one of the registrar's dns server in as a forwarder in your internal network.
bergertimeAuthor Commented:
That's what I understood too.  So I currently have internal records cname and mx.  I forward my DNS to google.  It's crazy, I can override the DNS settings on the nic, put in 8.8.8.8 and it finishes in less than two minutes, leave my default DNS and it takes like 15 minutes.  It's either gotta be a DNS issue or a firewall issue...I think.  :(
jorge diazSECommented:
just curious, can you verify the record on your internal servers by doing an nslookup to the host names.
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

bergertimeAuthor Commented:
Yes, I can nslookup internally and it responds fast.  I've triple checked the records match.  I just don't know.
jorge diazSECommented:
this is one of those issues where i would fire up wireshark to analyze traffic. you can see what servers, and the server responses are when the client is trying to contact them.
Mark GalvinManaging Director / Principal ConsultantCommented:
Hi

With Office 365 only (i.e. no hybrid etc.) you should not need any internal DNS records for Autodiscover.

If you remove those internal records and NOT switch you DNS to Google does it work any faster?

Thanks
Mark

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
bergertimeAuthor Commented:
Thanks, that seemed to fix it.
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
Office 365

From novice to tech pro — start learning today.