# Zero config

Server configuration guide for ABit Software Zero Config / Auto Discover DNS setup

# DNS Setup

ABit software products support a DNS lookup option for clients to auto discover the server. This works using a SRV record on your DNS server.

### Create DNS record for product.domain (eg servsched.abit.local)

This is an optional step but recommended step. By providing a DNS name you can easily direct users to [http://servsched:8090](http://servsched:8090) for client installation.

<table border="1" id="bkmrk-pick-one-of-the-two-" style="border-collapse: collapse; width: 100%; height: 351.672px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr style="height: 262.281px;"><td style="height: 262.281px;">![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-af890hjf.png)

</td><td style="height: 262.281px;"><span style="font-size: 10.0pt; font-family: 'Aptos',sans-serif; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-font-kerning: 0pt; mso-ligatures: none; mso-ansi-language: EN-AU; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Pick one of the two options, create a CNAME record to the name of the current server or a new A record entry to the IP address.</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-ee2fc8cq.png)  
</td><td style="height: 29.7969px;"><span style="font-size: 10.0pt; font-family: 'Aptos',sans-serif; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-font-kerning: 0pt; mso-ligatures: none; mso-ansi-language: EN-AU; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">CNAME example</span></td></tr><tr style="height: 29.7969px;"><td style="height: 29.7969px;">![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-tilxm9lz.png)  
</td><td style="height: 29.7969px;">A record example</td></tr></tbody></table>

### Create DNS SRV record

<table border="1" id="bkmrk-navigate-to-_tcp-for" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-trtdlho8.png)  
</td><td>Navigate to \_tcp for your active directory domain.</td></tr><tr><td>![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-mxytgful.png)  
</td><td>Right click and select Other New Records…</td></tr><tr><td>![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-vvaktzqc.png)  
</td><td>Select Service Location (SRV)</td></tr><tr><td>[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/scaled-1680-/yeWimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/yeWimage.png)

</td><td>Enter a service name of \_servsched, protocol \_tcp and ensure the port number and host match your server configuration.

</td></tr></tbody></table>

### Product default ports

<table border="1" id="bkmrk-service-scheduler-80" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>Service Scheduler</td><td>8090</td></tr><tr><td>Police Book</td><td>8092</td></tr></tbody></table>

### Testing DNS

- Click Start, and then click Run.
- In the Open box, type cmd.
- Type nslookup, and then press ENTER.
- Type set type=all, and then press ENTER.
- Type \_servsched.\_tcp.{Domain\_Name}, where Domain\_Name is the name of your domain, and then press ENTER.

```shell
set type=all
_servsched._tcp.{domain}
```

[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/scaled-1680-/NNVimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/NNVimage.png)

# Client setup

New installations will automatically have “\[AUTODISCOVER\]” as the server hostname. To transition an existing device. This hostname needs to be changed to “\[AUTODISCOVER\]”

### Manual update

Select Options -&gt; Application Servers and change the hostname to \[AUTODISCOVER\]

![](https://help.abitsystems.com.au/uploads/images/gallery/2024-08/embedded-image-rqps0s6r.png)

### Client IP Address Changes via Group Policy

Using a group policy via Active Directory is the recommended way

[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/4O2image.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/4O2image.png)

Computer Configuration \\ Preferences \\ Windows Settings\\ Registry

[![image.png](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/scaled-1680-/moWimage.png)](https://help.abitsystems.com.au/uploads/images/gallery/2024-11/moWimage.png)

#### Service Scheduler

```ini
HKEY_CURRENT_USER
Software\ABit Consulting\Service Scheduler\Application Servers\Default
ValueName: Hostname
ValueData: [AUTODISCOVER]
```

#### Police Book

```ini
HKEY_CURRENT_USER
Software\ABit Consulting\Police Book\Application Servers\Default
ValueName: Hostname
ValueData: [AUTODISCOVER]
```