# Integração AD

## Configuração do DNS no AD

Para a integração de um dominio com o  Userauth, deve ser realizado a configuração do DNS no AD. Nesta configuração, deve ser indicado o IP da interface do firewall como DNS principal do AD, conforme a imagem abaixo.

<figure><img src="/files/mJZZVu7RAU0529G43GFN" alt=""><figcaption></figcaption></figure>

## Configuração do Forward

Agora vamos criar uma regra para efetivar o sincronismo entre os dispositivos e o AD.

Navegue até: **Services -> Bind -> Zones**

<figure><img src="/files/bCRIMsT8Qvllwej3gMep" alt=""><figcaption></figcaption></figure>

Clique em **"+ Add"**

**Zone Name:** Nome do domínio que será realizado a integração;

**Description:** Descrição para identificação da regra;

**Zone Type:** Marque a opção "Forward";

**View:** Marque a opção Localnets.

<figure><img src="/files/oSyunLZoKs6qq3mqarFV" alt=""><figcaption></figcaption></figure>

Logo abaixo temos a opção **"Forward Zone Configuration"**

**Forwarders:** Adicione o endereço IP do seu AD, caso tenha mais de um AD, adicione **;** entre os IPs.

<figure><img src="/files/GeJKJcnhbaoR69eM6dfV" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/TXvGB89bi2HB97ChBQcT" alt=""><figcaption></figcaption></figure>

Após realizar os ajustes, pode salvar.

<figure><img src="/files/kX5zIr1eNi9ZmgKWJWmF" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.userauth.com.br/configurando-o-seu-userauth/escolha-o-seu-filtro-de-acesso/filtro-dns-com-bind/ativando-filtro-dns-com-bind/integracao-ad.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
