# Logical AD Components

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2Fmue1R7i3hpzFtNJP3DH1%2FUntitled%20picture.png?alt=media&#x26;token=412a6fd5-2020-4af1-ae3b-e0c1105f212e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2FrJNlLaYbbdhO4T0NTXEJ%2FUntitled%20picture.png?alt=media&#x26;token=4bbb505b-8ca6-483c-b438-cdbabbaad209" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2FwMY9XlBiTElg4oucOFFH%2FUntitled%20picture.png?alt=media&#x26;token=c598bdfd-ebd0-4e24-aef2-ec7235481300" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2FpAsKhYcKHXSO4cw0NxsC%2FUntitled%20picture.png?alt=media&#x26;token=5d49201a-12ee-4f86-80d0-c47928d897d0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2F2Eb1ZduHPiyBt4ht4tUq%2FUntitled%20picture.png?alt=media&#x26;token=1b36c500-cf38-425c-bb46-a4e0b1ebabfe" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2FfXS5QtNnEC5DhhRFhyKx%2FUntitled%20picture.png?alt=media&#x26;token=434fba22-ee1e-4267-9b1a-40ccf4bfc64e" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3722880708-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8Jk7bAtIA6fLVYBLmpdJ%2Fuploads%2FktoO9IOa4868wqENyaFB%2FUntitled%20picture.png?alt=media&#x26;token=8b4b6471-f0af-468a-b318-3d40e2ce77b2" alt=""><figcaption></figcaption></figure>

**Finding a DC in a network**

nslookup -type=srv \_ldap.\_tcp. | grep ldap | cut -d ' ' -f 6 | sed 's/.$//g'
