mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
DOCS: Update testing-txt-records.md (#2138)
Co-authored-by: Tom Limoncelli <tlimoncelli@stackoverflow.com>
This commit is contained in:
@ -1,14 +1,14 @@
|
|||||||
# TXT record testing
|
# TXT record testing
|
||||||
|
|
||||||
We recently discovered a strange but with processing TXT records and
|
We recently discovered a strange but with processing TXT records and
|
||||||
double-quotes. Sadly we haven't been able to determine a way to test this
|
double-quotes. Sadly we haven't been able to determine a way to test this
|
||||||
automatically. Therefore, I've written up this methodology.
|
automatically. Therefore, I've written up this methodology.
|
||||||
|
|
||||||
# The problem
|
# The problem
|
||||||
|
|
||||||
The problem relates to TXT records that have a string with quotes in them.
|
The problem relates to TXT records that have a string with quotes in them.
|
||||||
|
|
||||||
If a user creates a TXT record who's contents are `"something"` (yes, with
|
If a user creates a TXT record whose contents are `"something"` (yes, with
|
||||||
double quotes), some APIs get confused.
|
double quotes), some APIs get confused.
|
||||||
|
|
||||||
This bug is most likely to appear in a provider that uses
|
This bug is most likely to appear in a provider that uses
|
||||||
@ -28,7 +28,7 @@ in your `auditrecords.go` file.
|
|||||||
|
|
||||||
## Step 1: Create the test records
|
## Step 1: Create the test records
|
||||||
|
|
||||||
Log into your DNS provider's web UI (portal) and create these 4 TXT records. (Don't use DNSControl!) Yes, include the double-quotes on test 1 and 3!
|
Log into your DNS provider's web UI (portal) and create these 4 TXT records. (Don't use DNSControl!) Yes, include the double-quotes on test 2 and 3!
|
||||||
|
|
||||||
| Hostname | TXT |
|
| Hostname | TXT |
|
||||||
|---------------|-----------|
|
|---------------|-----------|
|
||||||
|
Reference in New Issue
Block a user