> For the complete documentation index, see [llms.txt](https://docs.arksspr.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.arksspr.com/master/deployment/dns-service-record-for-agent-autodiscovery.md).

# 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="/files/cs5m8m1HT6JcrgURX6k9" alt=""><figcaption><p>Service Location (SRV)</p></figcaption></figure>

<figure><img src="/files/Tfu5jhyILA2jDcg89oJT" 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 %}
