Automatically add quotes for TXT records, if they're needed

Version 1.514

Bugfix
Finished

When adding a TXT record if there is a space in the name value, but the value "is not quoted", then DA will automatically add "quotes" around the full value. It also does the same if the value contains an = character. It's possible that quotes are always required, but if named allows it, I'd prefer not to add rules where not required. DA does already use the named-checkzone command to ensure zones are syntactically correct, as the final check before putting a change into effect. Related: https://tools.ietf.org/html/rfc1464 https://en.wikipedia.org/wiki/TXT_record

Interested to try DirectAdmin? Get a 30-day Free Trial!