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
commit 857127de8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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