parent
2836ce4870
commit
40c423437a
|
@ -133,10 +133,10 @@ class CloudflareDnsProvider extends DnsProvider {
|
||||||
|
|
||||||
/// Remove all records that do not match with SelfPrivacy
|
/// Remove all records that do not match with SelfPrivacy
|
||||||
cloudflareRecords.removeWhere(
|
cloudflareRecords.removeWhere(
|
||||||
(final oceanRecord) => !selfprivacyRecords.any(
|
(final cloudflareRecord) => !selfprivacyRecords.any(
|
||||||
(final selfprivacyRecord) =>
|
(final selfprivacyRecord) =>
|
||||||
selfprivacyRecord.type == oceanRecord.type &&
|
selfprivacyRecord.type == cloudflareRecord.type &&
|
||||||
selfprivacyRecord.name == oceanRecord.name,
|
selfprivacyRecord.name == cloudflareRecord.name,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -122,6 +122,9 @@ List<DnsRecord> getProjectDnsRecords(
|
||||||
ttl: 18000,
|
ttl: 18000,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/// We never create this record!
|
||||||
|
/// This declaration is only for removal
|
||||||
|
/// as we need to compare by 'type' and 'name'
|
||||||
final DnsRecord txt3 = DnsRecord(
|
final DnsRecord txt3 = DnsRecord(
|
||||||
type: 'TXT',
|
type: 'TXT',
|
||||||
name: 'selector._domainkey',
|
name: 'selector._domainkey',
|
||||||
|
|
Loading…
Reference in New Issue