We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to create a TXT record that contains Double quotes?
- ttl: 120 type: TXT value: Hello world
and
- ttl: 120 type: TXT value: '"Hello world"'
both result in:
- ttl: 120 type: TXT value: \"Hello world\"
results in:
How do I get the following result?
The text was updated successfully, but these errors were encountered:
As far as I can tell it's not possible to create a unquoted TXT value in CF. If I enter "Hello World" in the UI:
"Hello World"
and dig gives me:
; <<>> DiG 9.10.6 <<>> TXT _digme.xormedia.com. @ben.ns.cloudflare.com. ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2464 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; WARNING: recursion requested but not available ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ;; QUESTION SECTION: ;_digme.xormedia.com. IN TXT ;; ANSWER SECTION: _digme.xormedia.com. 300 IN TXT "Hello World" ;; Query time: 10 msec ;; SERVER: 108.162.193.103#53(108.162.193.103) ;; WHEN: Wed Nov 20 13:45:05 PST 2024 ;; MSG SIZE rcvd: 72
If I enter Hello World, no quotes, in the UI it adds the quotes back once saved:
Hello World
and dig returns the same (quoted) thing.
In both cases the API returns the string quoted:
['_digme', {'octodns': {'cloudflare': {'auto-ttl': True}}, 'ttl': 500, 'type': 'TXT', 'value': '"Hello World"'}]
All of this matches the behavior of octoDNS's YamlProvider, which effectively treats Hello World and "Hello World" the same.
Sorry, something went wrong.
No branches or pull requests
Is there any way to create a TXT record that contains Double quotes?
and
both result in:
results in:
How do I get the following result?
The text was updated successfully, but these errors were encountered: