I have a program which generates the fqdn of a host using sysinfo() call. I need to get the same name from a remote host . I am using gethostbyname(). Sometimes these names dont match. I find extra domain names in sysinfo() output. Is this because of a wrong set up ?. Is it okay for a user to have the nis domainname seprated from the dns domain ?
Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!