mirror of
https://github.com/taigrr/godns
synced 2025-01-18 04:03:25 -08:00
Preserve TTL value.
Right now ttl value is overwritten to default value every time.
This commit is contained in:
parent
5182b91102
commit
ce60904eda
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user