Skip to content

docs: refer to SetRDATA() in the cookbook - #4895

Merged
TomOnTime merged 3 commits into
DNSControl:mainfrom
cafferata:docs/cookbook-setrdata-typo
Sep 19, 2026
Merged

TomOnTime merged 3 commits into
DNSControl:mainfrom
cafferata:docs/cookbook-setrdata-typo

Conversation

@cafferata

Copy link
Copy Markdown
Member

The developer cookbook section "How to change the rtype of a RecordConfig", added in #4755, tells the reader to "use SetDATA() last". There is no SetDATA(); the method is SetRDATA(), which the same sentence and the example below it already use. This corrects the name.

AI-attributie

Assisted-by: Claude Code:claude-opus-5

- `SetDATA()` does not exist; the sentence and the example below it already use `SetRDATA()`.

Refs DNSControl#4755
@cafferata

Copy link
Copy Markdown
Member Author

Here is the GitBook preview URL with SetRDATA() instead of SetDATA():
📚 https://docs.dnscontrol.org/~/revisions/g6lzvcE4iiEOzhLV2nAN/developer-info/cookbook#how-to-change-the-rtype-of-a-recordconfig

@TomOnTime
TomOnTime merged commit 099b497 into DNSControl:main Sep 19, 2026
10 checks passed
@cafferata
cafferata deleted the docs/cookbook-setrdata-typo branch September 19, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants