Function To Return DNS SRV Records

New member
Mar 3, 2005
Programming Experience
Please Help, I've been at this for days. how can i first.

have a string function that will look at a clients TCP configuration, and return it,s primary DNS servers suffix. then with this string search it's primary DNS server, and return the host value of _ldap._tcp.x.x where x = primary search suffix.

what i am trying to write is role based services with active directory as it's role provider, and i want to keep thing dynamic.

i know i can use the System.DNS namespace to convert a FQDN to IP and IP to FQDN. thats simple, but returning a FQDN from srv, is what i cannot do.

Please Help.