From 8ef008051d4d2aa7836ab234a8e90cebecd3f78e Mon Sep 17 00:00:00 2001 From: Jeffrey Cafferata Date: Fri, 8 Aug 2025 21:22:29 +0100 Subject: [PATCH] DOCS: Clarification on quotes in TXT record. --- commands/types/dnscontrol.d.ts | 2 +- documentation/language-reference/domain-modifiers/TXT.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/types/dnscontrol.d.ts b/commands/types/dnscontrol.d.ts index 50805bfcd..4fa82c860 100644 --- a/commands/types/dnscontrol.d.ts +++ b/commands/types/dnscontrol.d.ts @@ -3290,7 +3290,7 @@ declare function TTL(ttl: Duration): RecordModifier; * TXT("@", "598611146-3338560"), * TXT("listserve", "google-site-verification=12345"), * TXT("multiple", ["one", "two", "three"]), // Multiple strings - * TXT("quoted", "any "quotes" and escapes? ugh; no worries!"), + * TXT("quoted", 'any "quotes" and escapes? ugh; no worries!'), * TXT("_domainkey", "t=y; o=-;"), // Escapes are done for you automatically. * TXT("long", "X".repeat(300)), // Long strings are split automatically. * ); diff --git a/documentation/language-reference/domain-modifiers/TXT.md b/documentation/language-reference/domain-modifiers/TXT.md index 0b2edb70b..d33e99095 100644 --- a/documentation/language-reference/domain-modifiers/TXT.md +++ b/documentation/language-reference/domain-modifiers/TXT.md @@ -28,7 +28,7 @@ Modifiers can be any number of [record modifiers](https://docs.dnscontrol.org/la TXT("@", "598611146-3338560"), TXT("listserve", "google-site-verification=12345"), TXT("multiple", ["one", "two", "three"]), // Multiple strings - TXT("quoted", "any "quotes" and escapes? ugh; no worries!"), + TXT("quoted", 'any "quotes" and escapes? ugh; no worries!'), TXT("_domainkey", "t=y; o=-;"), // Escapes are done for you automatically. TXT("long", "X".repeat(300)), // Long strings are split automatically. );