NetIQ AppManager 6.x
NetIQ AppManager 7.0.x
AD_DCAdvertised Knowledge Script
- This method retrieves the IP address of the DC using gethostbyname and tries to ping this IP address.
- Then it retrieves the IP address from 'netlogon.dns' file and compares this IP address with the previous one.
- Finally it tries to find the SRV record for the Domain Controller in the 'netlogin.dns' file.
- If anything fails, the Knowledge Script will generate an error.