From ecc663a78d44543e6d5142d102473b8e3bb0af2e Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 10 May 2016 12:28:18 +0200 Subject: [PATCH] Add deprecation warnings for #3210 --- docs/markdown/authoritative/dnssec.md | 6 ++++++ docs/markdown/changelog.raw.md | 1 + pdns/serialtweaker.cc | 3 +++ 3 files changed, 10 insertions(+) diff --git a/docs/markdown/authoritative/dnssec.md b/docs/markdown/authoritative/dnssec.md index cc4c3f7c9..fa1e2d167 100644 --- a/docs/markdown/authoritative/dnssec.md +++ b/docs/markdown/authoritative/dnssec.md @@ -517,12 +517,16 @@ to find the day for inception time. **Warning**: The SOA serial will only change on inception day, so changes to the zone will get visible on slaves only on the following inception day. +**Note**: Will be removed in PowerDNS Authoritative Server 4.1.0 + #### INCEPTION-WEEK (not recommended) Sets the SOA serial to the number of weeks since the epoch, which is the last inception time in weeks. **Warning**: Same problem as INCEPTION. +**Note**: Will be removed in PowerDNS Authoritative Server 4.1.0 + #### EPOCH Sets the SOA serial to the number of seconds since the epoch. @@ -530,6 +534,8 @@ Sets the SOA serial to the number of seconds since the epoch. the time. If you need fast updates, sync the backend databases directly with incremental updates (or use the same database server on the slaves) +**Note**: Will be removed in PowerDNS Authoritative Server 4.1.0 + #### NONE Ignore [`default-soa-edit`](settings.md#default-soa-edit) and/or [`default-soa-edit-signed`](settings.md#default-soa-edit-signed) setings. diff --git a/docs/markdown/changelog.raw.md b/docs/markdown/changelog.raw.md index f3e1639e5..ffd8117bc 100644 --- a/docs/markdown/changelog.raw.md +++ b/docs/markdown/changelog.raw.md @@ -119,6 +119,7 @@ Important changes: - `insert-record-order-query` has been dropped, `insert-record-query` now sets the ordername (or NULL) - `insert-slave-query` has been dropped, `insert-zone-query` now sets the type of zone - Crypto++ and mbedTLS support is dropped, these are replaced by OpenSSL +- The INCEPTION, INCEPTION-WEEK and EPOCH SOA-EDIT metadata values are marked as deprecated and will be removed in 4.1 There are several **known issues** that will be fixed before the final 4.0.0 release: diff --git a/pdns/serialtweaker.cc b/pdns/serialtweaker.cc index 3dd474ef4..850071315 100644 --- a/pdns/serialtweaker.cc +++ b/pdns/serialtweaker.cc @@ -66,6 +66,7 @@ bool editSOARecord(DNSResourceRecord& rr, const string& kind, const DNSName& qna uint32_t calculateEditSOA(SOAData sd, const string& kind) { if(pdns_iequals(kind,"INCEPTION")) { + L<