Script/Commands | Find your local AD server

· 1 min read Human-written

Pretty neat script/commands if you need to find your attached AD/DC server(s).

C:\> nslookup
> set types=all
> _ldap._tcp.<<your.AD.domain>>
_ldap._tcp.<<your.AD.domain>>  SRV service location:
  priority       = 0
  weight         = 100
  port           = 389
  svr hostname   = <<ldap.hostname>>.<<your.AD.domain>>

Comments

No comments yet.

Comment on GitHub →

Comments are GitHub Discussions: you need a GitHub account, and what you write there is public on GitHub. New comments show up here within a few minutes.