I have a RHEL 7 server and I am attempting to follow the following guide: https://docs.microsoft.com/en-us/azure/active-directory-domain-services/join-rhel-linux-vm
However, I seem to be unable to connect when doing 'sudo realm discover MYDOMAIN.COM'. My output is 'realm: No such realm found: MYDOMAIN.COM'.
If I attempt a TLS connection using OpenSSL (openssl s_client -connect mydomain.com:636), I am able to connect to the server and it is pulling my certificate. This rules out network security group issues.
Thus I am at a loss at where I have missed a configuration step. mydomain.com is set to point to the external Azure AD DS LDAPS IP address in my /etc/hosts file.
I used https://docs.microsoft.com/en-us/azure/active-directory-domain-services/tutorial-configure-ldaps to setup my LDAPS connection on AD DS.