# Apontamentos DNS Internos com BIND

## Criando a regra

Vamos criar uma regra nas "Zonas" do Bind para apontamentos internos.

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

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

Clique em **"+ Add"**

<figure><img src="/files/7wgbCXVx4W8C6FO4AIRI" alt=""><figcaption></figcaption></figure>

**Zone Name:** Nome para identificação da regra, mas nesse caso é importante adicionar **".rpz"** no final;

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

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

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

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

**Response Policy Zone:** Marque apenas essa opção para ativar a regra com o mecanismo de "Política de resposta",

<figure><img src="/files/4VPAXlb5FgyCE3RLphEi" alt=""><figcaption></figcaption></figure>

**Name Server:** Adicione um domínio interno que fará parte da regra;

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

**Allow-query:** marque a opção **"localnets"**

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

Nesse momento você pode criar os apontamentos internos que você necessita, criamos como exemplo alguns modelos.

Um adento importante: Você vai criar aqui todos os DOMÍNIOS, cada um com o seu apontamento.

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

Após realizar todos os seus apontamentos INTERNOS, pode salvar.

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

<figure><img src="/files/5PCGp8glJlgWPzCfkNWP" alt=""><figcaption></figcaption></figure>

## Ativando os apontamentos para os grupos

Após criar a regra acima descrita, precisamos informar ao UserAuth que esses apontamentos serão necessários para determinados grupos.

Navegue até: **Services -> UserAuth Integration -> Local Groups**

Edite o grupo escolhido, caso você ainda não tem grupo, pode ser criado [clicando aqui](/configurando-o-seu-userauth/escolha-o-seu-filtro-de-acesso/filtro-dns-com-bind/grupos-de-acesso-do-userauth.md)

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

Já dentro do grupo, vamos ter a opção:&#x20;

**Aditional Bind Zones:** Ao marcar um apontamento interno criado no Bind, **o UserAuth vai ativar a verificação** para todos os usuários **pertencentes nesse grupo.**

**IMPORTANTE:** **Não ativar** apontamentos **externos**, **somente os internos**, nesse caso da imagem **"local.rpz".**

<figure><img src="/files/5CgOiM6czdSleWKX6goy" alt=""><figcaption></figcaption></figure>

Após isso pode salvar.

<figure><img src="/files/lkpLc6g7J3X2QYU7ynUn" 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/apontamentos-dns-internos-com-bind.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.
