From 24301a59b7ca65c87536e9b74660de8a31348796 Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 25 Jul 2022 12:44:10 +0800 Subject: [PATCH] FIX: enable DNS proxy for siasky --- dns.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dns.go b/dns.go index bf7558b..ff8150a 100644 --- a/dns.go +++ b/dns.go @@ -82,15 +82,18 @@ func (d *DNSData) updateDNSRecord(contentRecord dao.TableRecordsInfo) (dao.Table if recordType == "CNAME" { oldRecords = *d.cnameRecords content := d.ipfsCname + proxied := new(bool) // CNAME content for skynet if contentRecord.Key == "skynet" { content = d.skynetCname + *proxied = true } newRecord = cloudflare.DNSRecord{ Type: recordType, Name: contentRecord.Account + d.hostNameSuffix, Content: content, TTL: ttl, + Proxied: proxied, } } else if recordType == "TXT" { oldRecords = *d.txtRecords