TTL support
M96268004 opened this issue · 2 comments
M96268004 commented
Hi there,
The V2 API supporting TTL value now
https://developers.digitalocean.com/documentation/v2/#domain-records
Would like to know if I want to have TTL, the do.go file should be modified right?
Thanks,
skibish commented
Hi @M96268004 ,
Thanks for noting that TTL is now available!
You are right! You need to add TTL to the Record
struct.
Lines 22 to 27 in e5b7ce5
After this you will be able to specify it in configuration like this:
records:
- type: "A"
name: "www"
ttl: 1800