-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
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
TRANSIP: TXT-records incorrectly passed (with quotes) #2702
Comments
Oh that is weird. I know for a fact it used to work since I used this my self, but I was probably on an older version. Just to check, can you verify this is also the case for the version which is not on I will look into it when I got the time , it should be an easy and quick thing to fix. |
I'm the last to modify that code therefore this is probably my fault. My apologies. I haven't found an automated way to detect this bug. However, I did write up a manual way to test this here: https://docs.dnscontrol.org/developer-info/testing-txt-records |
git checkout ef081da1a6c8327ac1b27672f21a23c836b6ca7d
go build dnscontrol preview --domains jcid.nl ******************** Domain: jcid.nl
Done. 0 corrections. git checkout cbccbbeb8d981bcd688de1ee6ef8efe8df8a56d9
go build dnscontrol preview --domains jcid.nl ******************** Domain: jcid.nl
6 corrections (transip)
#1: [2/2] delete: ± MODIFY jcid.nl TXT ("v=spf1include:spf.jcid.nlinclude:_spf.google.cominclude:spf.mandrillapp.cominclude:_spf.exactonline.nl-all" ttl=86400) -> ("v=spf1 include:spf.jcid.nl include:_spf.google.com include:spf.mandrillapp.com include:_spf.exactonline.nl -all" ttl=86400)
#2: [1/2] create: ± MODIFY jcid.nl TXT ("v=spf1include:spf.jcid.nlinclude:_spf.google.cominclude:spf.mandrillapp.cominclude:_spf.exactonline.nl-all" ttl=86400) -> ("v=spf1 include:spf.jcid.nl include:_spf.google.com include:spf.mandrillapp.com include:_spf.exactonline.nl -all" ttl=86400)
Done. 2 corrections. |
Done! TXT("t0", "test0"),
TXT("t1", "\"test1\""),
TXT("t2", "test2"),
TXT("t3", "\"test3\""), dnscontrol preview --domains jcid.nl 2023/12/08 23:01:50 printIR.go:107: 2 Validation errors:
2023/12/08 23:01:50 printIR.go:113: ERROR: TRANSIP rejects domain jcid.nl: txtstring contains doublequotes
2023/12/08 23:01:50 printIR.go:113: ERROR: TRANSIP rejects domain jcid.nl: txtstring contains doublequotes
exiting due to validation errors TXT("t0", "test0"),
TXT("t2", "test2"), dnscontrol preview --domains jcid.nl ******************** Domain: jcid.nl
2 corrections (transip)
#1: - DELETE t1.jcid.nl TXT "test1" ttl=86400
#2: - DELETE t3.jcid.nl TXT "test3" ttl=86400
Done. 2 corrections. |
Fixed in #2708 |
The DNS TXT-records are incorrectly passed to TransIP (with quotes).
Reproducible DNSControl config
cc: @blackshadev
The text was updated successfully, but these errors were encountered: