From b06a721e71f5fc9f55c1b6cf9e5e66265a02494e Mon Sep 17 00:00:00 2001 From: Thomas Limoncelli Date: Thu, 4 Dec 2025 16:39:55 -0500 Subject: [PATCH] fix RP docs --- commands/types/dnscontrol.d.ts | 2 +- documentation/language-reference/domain-modifiers/RP.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts index 000695e1c..fb486966e 100644 --- a/commands/types/dnscontrol.d.ts +++ b/commands/types/dnscontrol.d.ts @@ -3235,7 +3235,7 @@ declare function REVCOMPAT(rfc: string): string; * * @see https://docs.dnscontrol.org/language-reference/domain-modifiers/rp */ -declare function RP(name: string, mbox: unknown, txt: unknown, ...modifiers: RecordModifier[]): DomainModifier; +declare function RP(name: string, mbox: string, txt: string, ...modifiers: RecordModifier[]): DomainModifier; /** * `SMIMEA` adds a `SMIMEA` record to a domain. The name should be the hashed and stripped local part of the e-mail. diff --git a/documentation/language-reference/domain-modifiers/RP.md b/documentation/language-reference/domain-modifiers/RP.md index 160e00977..b839949ed 100644 --- a/documentation/language-reference/domain-modifiers/RP.md +++ b/documentation/language-reference/domain-modifiers/RP.md @@ -7,7 +7,8 @@ parameters: - modifiers... parameter_types: name: string - address: string + mbox: string + txt: string "modifiers...": RecordModifier[] ---