Last updated 1 year ago
Finding a DC in a network
nslookup -type=srv _ldap._tcp. | grep ldap | cut -d ' ' -f 6 | sed 's/.$//g'