Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000067 [MyDNS-NG] Global minor always 2011-09-08 16:46 2011-09-08 16:46
Reporter joezhou View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 1.2.8
Summary 0000067: MyDNS and mydnsexport handle special characters in TXT records differently
Description MyDNS would automatically quote strings, and add '\' to special characters. mydnsexport would quote strings, but would not escape special characters. This creates a conflict on how strings such as DKIM domain key should be stored in the database.

For example,

# 3rdparty/bin/mydnsexport a10002.cpanel.test

default._domainkey.a10002.cpanel.test. 14400 IN TXT "k=rsa\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALZw57zoM3vu9ujjgbfv9veMAFTxrtQ4ZTBow92z7awuuB2xGTSn2LN1UQ9rpHIB1+vX+vuoxdlKywcMj2gydxTkg/RsXu4tQiYjLGlaOW0cdujSzgk5ZKKLnPcSsatTdwIDAQAB\;"

# dig @localhost TXT default._domainkey.a10002.cpanel.test

default._domainkey.a10002.cpanel.test. 86400 IN TXT "k=rsa\\\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALZw57zoM3vu9ujjgbfv9veMAFTxrtQ4ZTBow92z7awuuB2xGTSn2LN1UQ9rpHIB1+vX+vuoxdlKywcMj2gydxTkg/RsXu4tQiYjLGlaOW0cdujSzgk5ZKKLnPcSsatTdwIDAQAB\\\;"

# 3rdparty/bin/mydnsexport a10002.cpanel.test

default._domainkey.a10002.cpanel.test. 14400 IN TXT "k=rsa; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALZw57zoM3vu9ujjgbfv9veMAFTxrtQ4ZTBow92z7awuuB2xGTSn2LN1UQ9rpHIB1+vX+vuoxdlKywcMj2gydxTkg/RsXu4tQiYjLGlaOW0cdujSzgk5ZKKLnPcSsatTdwIDAQAB;"

# dig @localhost TXT default._domainkey.a10002.cpanel.test

default._domainkey.a10002.cpanel.test. 86400 IN TXT "k=rsa\; p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhALZw57zoM3vu9ujjgbfv9veMAFTxrtQ4ZTBow92z7awuuB2xGTSn2LN1UQ9rpHIB1+vX+vuoxdlKywcMj2gydxTkg/RsXu4tQiYjLGlaOW0cdujSzgk5ZKKLnPcSsatTdwIDAQAB\;"
Additional Information Also, the column size for data is too small as suggested in MyDNS manual. This would result in the truncation of larger records like DKIM domain keys.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-09-08 16:46 joezhou New Issue

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker