Replies: 1 comment 2 replies
-
Not really sure I understand what you are trying to do and what your problem is. Do you get an error, did you try some combinations of requests, the full address or rest address as prefix? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to see if I can use the ResolveService to resolve Active Directory site specific records in DNS. I've already have it resolving for broad "kerberos" and "ldap" records but I'd like to be able to be a bit more granular and only match records for a given Active Directory site.
Some of the DNS SRV records look like this for AD site "us-midwest-il-nb" :
_kerberos._tcp.us-midwest-il-nb._sites
_kerberos._tcp.us-midwest-il-nb._sites.dc._msdcs
_ldap._tcp.us-midwest-il-nb._sites
_ldap._tcp.us-midwest-il-nb._sites.dc._msdcs
Is this possible? If so, how would I make this look in my code?
Dim result As ServiceHostEntry() = client.ResolveService("myaddomain.com", "ldap", System.Net.Sockets.ProtocolType.Tcp)
For Each res In result
Console.WriteLine(res.HostName)
Next
Beta Was this translation helpful? Give feedback.
All reactions