# 3.4 Split DNS

# Introduction

There are situations where “Split DNS” is necessary when using the DNS Agent, especially for PCs which are deployed within an Active Directory


## What is Split DNS?

“Split DNS” basically refers to the configuration where DNS queries that belong to a configured domain are routed to a separate DNS server of the user’s choosing. For example, the user may decide that all internal domain queries are sent to the Active Directory internal DNS servers. The below network diagram explains this in a high level:

# Configuration

As shown in the diagram above, the `config.json` file accepts two keys that are under the user’s control:

| Key Name | Description | Example Value |
|----------|-------------|---------------|
| `localdomain` | The domain which should be forwarded to internal DNS servers.<br><br>NB: Currently only accepts a single domain | `.lan`<br>`.corp.internal` |
| `localservers` | A comma seperated list of local DNS servers which can answer queries for the domain configured under the `localdomain` key | `192.168.1.1,192.168.1.2` |



---


:::info
tags:

* Split DNS

:::

---

**Documents**

- [1.0 Getting Started](https://outline.cybersift.io/s/cs-dns/doc/10-getting-started-NMJCaCwWay)
- [2.0 Usage](https://outline.cybersift.io/s/cs-dns/doc/20-usage-RQu7CDpi18)
- [3.0 Agent Configuration](https://outline.cybersift.io/s/cs-dns/doc/30-agent-configuration-yndQmWm7z7)
- [4.0 Ingesting Logs](https://outline.cybersift.io/s/cs-dns/doc/40-ingesting-logs-jpnthtJtSU)
- [FAQ](https://outline.cybersift.io/s/cs-dns/doc/faq-pgdwP7oqza)