]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
The syntax was wrong for this TXT entry.
authortcely <tcely@users.noreply.github.com>
Thu, 3 Aug 2017 07:27:45 +0000 (03:27 -0400)
committertcely <tcely@users.noreply.github.com>
Thu, 24 May 2018 17:33:47 +0000 (13:33 -0400)
I had thought maybe the server would parse that format. It looks like it
was left up to the zone file parser instead.

modules/luabackend/test/powerdns-luabackend.lua

index 36d3877f2d3b19e4ba0ca9925f695644d00ad030..d6e0b0ec74a1d88e8961b788f8c109a3c769ac06 100644 (file)
@@ -287,9 +287,7 @@ domains[origin].records["external-mail."..origin] = {
     {qtype = "MX", ttl = ttl, content = "25 server1.test.com."},
 }
 domains[origin].records["text."..origin] = {
-    {qtype = "TXT", ttl = ttl, content = [=[( 
- "Hi, this is some text"   
-  )]=]},
+    {qtype = "TXT", ttl = ttl, content = "Hi, this is some text"},
 }
 domains[origin].records["multitext."..origin] = {
     {qtype = "TXT", ttl = ttl, content = [=["text part one" "text part two" "text part three"]=]},