From 21124230ca96d6efc09e93d9b9f2828184765189 Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Sat, 19 Sep 2026 09:57:45 +0200 Subject: [PATCH] DOCS: Refer to `SetRDATA()` instead of `SetDATA()` in the cookbook. - `SetDATA()` does not exist; the sentence and the example below it already use `SetRDATA()`. Refs https://github.com/DNSControl/dnscontrol/pull/4755 --- documentation/developer-info/cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/developer-info/cookbook.md b/documentation/developer-info/cookbook.md index 307c90fc7c..10058fdc06 100644 --- a/documentation/developer-info/cookbook.md +++ b/documentation/developer-info/cookbook.md @@ -319,7 +319,7 @@ For any other transformation: 1. Set .Type and .TypeNum -2. Create the RDATA using a MakeFOO() function and use the SetRDATA() to store it. Be sure to use SetDATA() last since it rebuilds any pre-computed strings. +2. Create the RDATA using a MakeFOO() function and use the SetRDATA() to store it. Be sure to use SetRDATA() last since it rebuilds any pre-computed strings. Example: