1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00

Merge pull request #48 from test1943/patch-1

Preserve TTL value.
This commit is contained in:
Timothy
2019-09-26 10:10:51 +08:00
committed by GitHub

View File

@@ -40,6 +40,7 @@ type DNSRecord struct {
Proxied bool `json:"proxied"`
Type string `json:"type"`
ZoneID string `json:"zone_id"`
TTL int32 `json:"ttl"`
}
// SetIP updates DNSRecord.IP