Get hostname from Active Directory DNS? #224
Replies: 4 comments
-
Sure. As far as know, you still have to install and/or configure a DNS server based on you AD DS, see:
But if you have that, then yeah, you should be able to query by using the IP (and Port if not default) of the DNS server |
Beta Was this translation helpful? Give feedback.
-
Yes, the DNS is configured for Active Directory. I'm able to use the management console at work and I use |
Beta Was this translation helpful? Give feedback.
-
To be clear, those powershell commands are of administrative purpose and allow you to query across zones and create or edit entries and what not. This library also does not extend the queries with the DNS servers default suffix, yet. So, to query for "some_computer_name", you'd have to append the dns suffix to that query to make it a valid dns query. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the information.
Do you have any recommendation as to how I can achieve the same results as |
Beta Was this translation helpful? Give feedback.
-
Is it possible for
DnsClient.NET
to get the hostname (A record) from Active Directory DNS (not LDAP)?Beta Was this translation helpful? Give feedback.
All reactions