Active Directory, DNS, Windows Server 2012

Naming Information cannot be located because: The specified domain either doesn’t exist or could not be contacted. (Windows 2012/2016)

The following solution works for Windows 2016 also (Initially, the solution has created for Windows 2012) I met a difficult situation while setting up a