From d2f17c9a8c2a80ddaf778cdfc311eda5ad069f66 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Fri, 11 Dec 2015 20:19:34 +0100 Subject: [PATCH] docs: document Autoserial. Closes #1211 --- docs/markdown/authoritative/backend-generic-sql.md | 5 +++++ docs/markdown/authoritative/index.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/markdown/authoritative/backend-generic-sql.md b/docs/markdown/authoritative/backend-generic-sql.md index 0c67e13a3..d547fdcaf 100644 --- a/docs/markdown/authoritative/backend-generic-sql.md +++ b/docs/markdown/authoritative/backend-generic-sql.md @@ -88,6 +88,11 @@ The REST API will still see the record (or domain). Even if a domain is disabled slaving still works. Slaving considers a disabled domain to have a serial of 0; this implies that a slaved domain will not stay disabled. +## Autoserial +The autoserial functionality makes PowerDNS generate the SOA serial when the SOA +serial set to `0` in the database. The serial in SOA responses is set to the +highest value of the `change_date` field in the "records" table. + # Queries From version 4.0.0 onward, the generic SQL backends use prepared statements for their queries. Before 4.0.0, queries were expanded using the C function 'snprintf' diff --git a/docs/markdown/authoritative/index.md b/docs/markdown/authoritative/index.md index 9bc41d16a..9e7729d7b 100644 --- a/docs/markdown/authoritative/index.md +++ b/docs/markdown/authoritative/index.md @@ -13,7 +13,7 @@ Multiple backends can be enabled in the configuration by using the [`launch`](se ## Backend Capabilities The following table describes the capabilities of the backends. -| Name | Status | Native | Master | Slave | Superslave | Autoserial | DNSSEC | Disabled Data | Comments | Launch Name | +| Name | Status | Native | Master | Slave | Superslave | [Autoserial](backend-generic-sql.md#autoserial) | DNSSEC | [Disabled Data](backend-generic-sql.md#disabled-data) | Comments | Launch Name | |:---|:---|:---|:---|:---|:---|:---|:---|:---|:---|:---| | [BIND](backend-bind.md) | Supported | Yes | Yes | Yes | Experimental | No | Yes | No | No | `bind` | | [Generic MySQL](backend-generic-mysql.md) | Supported | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | `gmysql` | -- 2.40.0