domain

While there are many posts that describe the code to do this function, there aren’t many posts that provide variables with meaning or actually describe the syntax. This post describes the method by which you can retrieve a Distinguished Name from a Fully Qualified Domain Name.
Quick Reference:
Fully Qualified Domain Name (FQDN): division.domain.root
Distinguished Name (DC): DC=division,DC=Domain,DC=root
Canonical Name(CN): division.domain. Read More…