2022-12-24 13:01:51 +01:00
---
gitea: none
include_toc: true
---
# nsd
2023-08-02 09:26:54 +02:00
## Synopsis
2022-12-24 13:01:51 +01:00
NSD, an authoritative DNS name server.
[For more informations ](https://www.nlnetlabs.nl/projects/nsd/about/ )
2023-08-02 09:26:54 +02:00
## Basic variables
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
#### Zone DNS (*general.dns_zone*)
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
| Description | Example | Type |
|------------------------------------------------------------|-----------------------|----------------------------------------------------------------------------------------------------------------------------|
| **Zones DNS** (*[nsd_zones](dictionaries/20_nsd.xml)*) [+] | subdomain.example.net | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
#### Zone (*nsd.nsd_zone_*)
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
This a dynamic family generated from the variable "general.dns_zone.nsd_zones".
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
| Description | Type |
|------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|
| **Nom des serveurs de nom de la zone ** (*[ns_](extras/nsd/00_nsd.xml)*) [+] | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
2023-08-01 14:34:26 +02:00
2023-08-02 09:26:54 +02:00
##### Nom d'hôte pour (*nsd.nsd_zone_.hostname_*)
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
This a family is a leadership.
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
| Description | Type | Choices |
|-------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|-----------|
| **Adresse IP a renvoyer pour ** (*[ip_](extras/nsd/00_nsd.xml)*) | [ip ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | |
| **Nom de domaine a renvoyer pour ** (*[cname_](extras/nsd/00_nsd.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | |
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
- [+]: variable is multiple
- **bold**: variable is mandatory
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
## Variables
#### systemd-journald (*general.journald*)
| Description | Type | Supplier | Values |
|--------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|---------------|--------------|
| *[journal_client_server_domainname](dictionaries/20_journald.xml)* | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Journald | |
| *[journal_host_name](dictionaries/20_journald.xml)* | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | Journald:host | < calculated > |
2022-12-24 13:01:51 +01:00
#### Serveur DNS (*general.dns_server*)
2023-06-29 18:56:46 +02:00
| Description | Type |
|----------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| Clients autorisés à interroger le serveur DNS (*[nsd_allowed_client_cidr](dictionaries/20_nsd.xml)*) [+] | [network_cidr ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
| Nom de domaine du résolveur DNS associé (*[nsd_resolver](dictionaries/20_nsd.xml)*) | [domainname ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
2022-12-24 13:01:51 +01:00
#### Zone DNS reverse (*general.dns_reverses*)
This a family is a leadership.
2023-06-29 18:56:46 +02:00
| Description | Type |
|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
| Réseau pour la résolution reverse (*[nsd_reverse_network](dictionaries/20_nsd.xml)*) [+] | [network_cidr ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) |
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
##### Nom d'hôte pour (*nsd.nsd_zone_.hostname_*)
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
This a family is a leadership.
2022-12-24 13:01:51 +01:00
2023-08-02 09:26:54 +02:00
| Description | Type | Choices |
|---------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|--------------|
| **Type pour ** (*[type_](extras/nsd/00_nsd.xml)*) | [choice ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | A< br /> CNAME |
2022-12-24 13:01:51 +01:00
2023-06-29 18:56:46 +02:00
2023-08-02 09:26:54 +02:00
- [+]: variable is multiple
- **bold**: variable is mandatory
2023-06-29 18:56:46 +02:00
2023-08-02 09:26:54 +02:00
## Variables for expert
2023-06-29 18:56:46 +02:00
##### Nom d'hôte pour (*nsd.nsd_zone_.hostname_*)
This a family is a leadership.
2023-08-02 09:26:54 +02:00
| Description | Type | Choices |
|-----------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------|-----------|
| **Nom d'hôte pour ** (*[hostname_](extras/nsd/00_nsd.xml)*) [+] | [string ](https://forge.cloud.silique.fr/risotto/rougail/src/branch/main/doc/variable/README.md#le-type-de-la-variable ) | |
2022-12-24 13:01:51 +01:00
2023-06-29 18:56:46 +02:00
- [+]: variable is multiple
- **bold**: variable is mandatory
2023-01-18 09:19:37 +01:00
2023-08-02 09:26:54 +02:00
## Examples
Zone names are provided as examples. Think about adapting with the value of provider_zone in configuration file.
With minimum providers:
```
nsd:
applicationservice: nsd
zones_name:
- localdns
values:
general.dns_zone.nsd_zones:
- subdomain.example.net
```
With all providers:
```
nsd:
applicationservice: nsd
zones_name:
- journald
- localdns
values:
general.dns_zone.nsd_zones:
- subdomain.example.net
```
## Dependances
- [base-fedora-37 ](../base-fedora-37/README.md )
- [base-fedora ](../base-fedora/README.md )
- [systemd ](../systemd/README.md )
- [base-machine ](../base-machine/README.md )
- [base ](../base/README.md )
- [dns-local ](../dns-local/README.md )
- [pki-tls ](../pki-tls/README.md )
- [journald ](../journald/README.md )
- [resolved ](../resolved/README.md )
2023-06-29 18:56:46 +02:00
## Used by
2023-01-18 09:19:37 +01:00
2023-06-29 18:56:46 +02:00
[nsd-local ](../nsd-local/README.md )
2023-02-14 14:43:41 +01:00
[All applications services for this dataset. ](../README.md )