# DNS Service Record for Agent Autodiscovery

In order for agents to find the SSPR server dynamically, a service record must be created on local DNS servers. This record must be created manually and added to the \_tcp folder in the local domain zone.

1. DNS management interface opens (dnsmgmt.msc),
2. Active Directory Zone is expanded,
3. Enter the \_tcp folder,
4. Click "Other New Record" from the Action menu or right-click menu.
5. Select "Service Location (SRV)" from the window that opens and click "Create Record".
6. On the "New Service Record" screen, information is filled in as follows.

| Field       | Value                   | Description                                           |
| ----------- | ----------------------- | ----------------------------------------------------- |
| Service     | \_arksspr               |                                                       |
| Protocol    | \_tcp                   |                                                       |
| Port Number | 443                     |                                                       |
| Host        | servername.*domain.com* | It is the server where the arksspr role is installed. |

<figure><img src="https://60632999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgdlemWm0JI6_ILmafb%2Fuploads%2Fbvi95FgJicTyWh7hKsbg%2Fimage.png?alt=media&#x26;token=a1b010b6-4c19-4f40-b61a-1559ac12e1e3" alt=""><figcaption><p>Service Location (SRV)</p></figcaption></figure>

<figure><img src="https://60632999-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MgdlemWm0JI6_ILmafb%2Fuploads%2F1DGo4043fxZLOu6ufSPA%2Fimage.png?alt=media&#x26;token=7e4703cf-ab5d-42ca-a516-10172c0709db" alt=""><figcaption><p>New Resource Record</p></figcaption></figure>

{% hint style="success" %}
When more than one **arksspr** server is installed, this process is repeated for each server.
{% endhint %}
