I have my company.com domain's DNS servers hosted with Office 365, where all the Exchange/Skype records are set, but I also added the custom @/www A records for the public website.
Now I am setting a Windows Server 2019 Active Directory for the same company.com domain (I want to later synchronize it to the Office 365/Azure AD tenant).
My problem is that within the AD domain, www.company.com won't resolve. I could add the A record manually in the DNS configuration, but I am looking for a way to tell Windows that anything *.company.com that it cannot resolve should be checked against the external authoritative server (Office 365). Is there a way to setup once and forget about it?