You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
With Microsoft DNS Server it's not possible to add TXT records with more than 255 characters. There is also no error show and the TXT record won't appear in the DNS. Probably this issue also exists with other DNS servers, too, but I have no other installed for testing.
To Reproduce
Steps to reproduce the behavior:
Go in a hosting space to 'Domains'
Click on a domain and then on the button "Edit DNS zone records"
Try to add a new TXT record with more than 255 characters
See NO error and no new TXT record
Expected behavior
According to https://kb.isc.org/docs/aa-00356 it's possible to split the TXT record into multiple lines, where one line doesn't exceed 255 characters (included the quotes ""). MS DNS server also supports this feature, but SolidCP can't handle it. It's neccessary for example for DKIM keys with key length > 1024. Therefore SolidCP should allow longer input for TXT records and split it before saving correctly to DNS. Also if something went wrong with saving a DNS record, there should be an error message shown in SolidCP portal.
SolidCP Info
SolidCP Version: 1.4.9 and previous
Additional information
Also if you add such a splitted record manually to MS DNS, only the first line is shown in SolidCP and you have no possibility to delete such record. There is also no error shown, if you try it.
The text was updated successfully, but these errors were encountered:
bogdankruszewski
changed the title
DNS TXT records with more than 255 characters
[MS DNS] TXT records with more than 255 characters
Dec 8, 2023
We have checked and this is a limitation of the Microsoft DNS command Get-DnsServerResourceRecord with no workaround found for the max record data of 255 chars.
I have checked PowerDNS for example and this is not a issue so its not a limit on the txt record.
If anybody is able to come up with a solution then please let us know.
I have found a possible solution which could be failing back to WMI as it shows the record runnning the following:
(Get-WmiObject -Namespace Root\MicrosoftDNS -Query "select * from MicrosoftDNS_TXTType Where OwnerName='dkimlong._domainkey.mdns001.local'").RecordData
Having checked this further using native WMI (the MSDns Provider) or Powershell command Set-WMIInstance both result in the same issue where setting the record is limited to 255 chars.
Describe the bug
With Microsoft DNS Server it's not possible to add TXT records with more than 255 characters. There is also no error show and the TXT record won't appear in the DNS. Probably this issue also exists with other DNS servers, too, but I have no other installed for testing.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
According to https://kb.isc.org/docs/aa-00356 it's possible to split the TXT record into multiple lines, where one line doesn't exceed 255 characters (included the quotes ""). MS DNS server also supports this feature, but SolidCP can't handle it. It's neccessary for example for DKIM keys with key length > 1024. Therefore SolidCP should allow longer input for TXT records and split it before saving correctly to DNS. Also if something went wrong with saving a DNS record, there should be an error message shown in SolidCP portal.
SolidCP Info
Additional information
Also if you add such a splitted record manually to MS DNS, only the first line is shown in SolidCP and you have no possibility to delete such record. There is also no error shown, if you try it.
The text was updated successfully, but these errors were encountered: