# Custom Backend Configuration

## Introduction

Sentio utilizes a custom backend for each implementation to let Sentio know from where to stream the data from. Sentio uses CORS:

> **Cross-Origin Resource Sharing** ([CORS](https://developer.mozilla.org/en-US/docs/Glossary/CORS)) is an [HTTP](https://developer.mozilla.org/en-US/docs/Glossary/HTTP)-header based mechanism that allows a server to indicate any [origins](https://developer.mozilla.org/en-US/docs/Glossary/Origin) (domain, scheme, or port) other than its own from which a browser should permit loading resources. CORS also relies on a mechanism by which browsers make a "preflight" request to the server hosting the cross-origin resource, in order to check that the server will permit the actual request. In that preflight, the browser sends headers that indicate the HTTP method and headers that will be used in the actual request.
>
> <https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS>


Given that browsers require a certificate, Cybersift Support typically creates these DNS records during onboarding for convenience of not having to create your own.


## Self Hosting the Backend DNS Record


Should you wish to host the backend DNS record yourself, this document will explain what is required. It’s important to inform Cybersift Support, so we can remove it from our end, and avoid conflicts. 


:::warning
:exclamation:**Highly Discouraged**

We recommend you do not create an internal DNS zone for the root “cybersift.io” domain as it may result into issues. 

:::

   

### Creation of an Internal Zone


:::warning
NB this involves creating a **ZONE** - not a DNS A record

:::

| Zone | Host | Answer |
|------|------|--------|
| myCustomName-sentio.cybersift.io | @    | (Points to your SIEM e.g. 192.168.1.2) |


:::tip
Microsoft DNS Server:  
<https://learn.microsoft.com/en-us/windows-server/networking/technologies/ipam/create-a-dns-zone>

:::


Once a zone is created, simply add a root DNS record (usually denoted as `@` ) which points to your internal SIEM IP


Test it out using 

```bash
nslookup myCustomName-sentio.io 
```


## Apply Your Backend

After the Internal Zone is created, you can test it out by:


1. Going to sentio.cybersift.io 
2. Add your backend
3. Try to login

(Ensure that local network is allowed in site settings)

 ![](https://outline.cybersift.io/api/files.get?sig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1cGxvYWRzL2MwNWNhZDYzLTA0ZmEtNGFmZC04NjMwLTI3MjNjZDYwZWZkNS85NDRkODBkNi1jMWY5LTQ1ZjMtOGM1YS0xZDcwMWNmNDMxZWEvaW1hZ2UucG5nIiwidHlwZSI6ImF0dGFjaG1lbnQiLCJpYXQiOjE3OTUxNDcyMDAsImV4cCI6MTc5NTIzMzYwMH0.YWr_f0tvQ5rCeea4aSA3D7_6C6IaWnH4wO9iI7G9B5E " =1895x876")



---


:::info
tags:

* Custom Backend
* Internal Zone
* DNS Record

:::

---

**Documents**

- [Logs and Architecture](https://outline.cybersift.io/s/sentio-siem/doc/logs-and-architecture-acvUiDgvI5)
- [Sentio](https://outline.cybersift.io/s/sentio-siem/doc/sentio-KuYAbF5grr)
- [ISO27001:2022](https://outline.cybersift.io/s/sentio-siem/doc/iso270012022-7S5IzvF6a0)
- [FAQ](https://outline.cybersift.io/s/sentio-siem/doc/faq-vVyRNyNb60)