$dnsServers = (Resolve-DnsName -Name e-ins.net -Type NS).NameHost Resolve-DnsName -Name _ldap._tcp.dc._msdcs.e-ins.net -Type SRV | Where-Object {$_.NameTarget -in $dnsServers}