Creating a zone
«Add zone» opens a form with two fields.
| Field | Meaning | Typical value |
|---|---|---|
| «Zone name» | The zone’s domain name (an FQDN) | johnsmith.test |
| «Reference IP address» | An IPv4 address. The zone is born complete: SOA and NS on this server, plus the A record «@» (the root of the zone) pointing to this address | 10.20.0.2 |
The button is «Create zone». The A record «@» is mandatory because Samba answers SERVFAIL to any question about a record type that the root does not have.
Warning A zone you create becomes authoritative for that whole domain for the domain’s clients. If you create the zone
johnsmith.testto resolve a few names from the inside, the clients will no longer ask the public DNS for the names that zone does not contain (www,
Deleting a zone
Select the zone and press «Delete zone»; the console asks «Delete this zone and all its records?». Zones that contain the domain’s system records (for example the realm’s zone) cannot be deleted: the button is disabled, and if the controller refuses anyway the message is «The zone was not deleted: it contains system records, or the domain controller refused».