mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fix TXT docs, remove AUTOSPLIT (#1083)
This commit is contained in:
@ -842,7 +842,6 @@ function SPF_BUILDER(value) {
|
||||
// Only add the raw spf record if it isn't an empty string
|
||||
if (value.raw !== '') {
|
||||
rp = {};
|
||||
rp.txtSplitAlgorithm = 'multistring'; // Split the target if needed.
|
||||
if (value.ttl) {
|
||||
r.push(TXT(value.raw, rawspf, rp, TTL(value.ttl)));
|
||||
} else {
|
||||
@ -864,8 +863,6 @@ function SPF_BUILDER(value) {
|
||||
p.txtMaxSize = value.txtMaxSize;
|
||||
}
|
||||
|
||||
p.txtSplitAlgorithm = 'multistring'; // Split the target if needed.
|
||||
|
||||
// Generate a TXT record with the metaparameters.
|
||||
if (value.ttl) {
|
||||
r.push(TXT(value.label, rawspf, p, TTL(value.ttl)));
|
||||
|
Reference in New Issue
Block a user